Panel: row

Syntax

row {
    sub_panel>
    ...
}

Description

Row constraint. No panel is created. Child sub-panels within it are automatically stacked horizontally.

Membership

Parameters

None

Switches

Callbacks

None

Notes

No sub-panels are created by the row statement. It is merely a device for controlling the horizontal layout of other sub-panels.

Examples

Create a panel window containing a multi-line text input field and a row with a labelled single-line text field to illustrate the -full feature.

window w = wpanel {
    a: text -r=5,-c=50
    row -full {
        label 'File:'
        f: text -er
    }
}

Create a panel window to illustrate the equal spacing of sub-panels.

window w = wpanel {
    g: wgraphic -dim=<400,200>
    row -full,-eq,-fo=xitalic {
        b1: button 'Apply'
        b2: button 'Cancel'
        b3: button 'Close'
    }
}