gap <num>
Gap specification. No panel is created.
Panel window
Tab window
<num>
The size of the gap in pixels.
This is the vertical distance between sub-panels when the parent
layout orientation is a column, or the horizontal distance between sub-panels
when the parent layout orientation is a row.
None
None
Create a panel window with three rows of buttons. Each button is separated from the next by 20 pixels. Each row is separated from the next by 5 pixels.
window w = wpanel { row { tl: button 'Top Left'; gap 20 tm: button 'Top Middle'; gap 20 tr: button 'Top Right' } gap 5 row { lm: button 'Left Middle'; gap 20 m: button 'Middle'; gap 20 rm: button 'Right Middle' } gap 5 row { bl: button 'Bottom Left'; gap 20 bm: button 'Bottom Middle'; gap 20 br: button 'Bottom Right' } }