Statement macro
Creates the specified sheet and places spacing around it.
with-spacing ([options]) {pane} end
duim-gadgets
duim-gadgets
Creates pane with spacing around it, taking into account any of the specified options.
The options specified may be any of the legal init-keywords used to specify an instance of <spacing>. If no options are specified, then the default spacing is used.
The pane is an expression whose return value is the sheet around which spacing should be placed.
contain(with-spacing (thickness: 10) (vertically () make(<button>, label: "Hello"); make(<button>, label: "World") end) end);
<null-pane>, page 475
<spacing>, page 647
with-border, page 696