# Spacing¶

structure Spacing

Spacing widgets are created via BOX:ADDSPACING.

A Spacing is just an invisible space for the purpose of pushing other widgets further to the right or further down, forcing the layout to come out the way you like.

Suffix Type Description
Every suffix of WIDGET
AMOUNT scalar The amount of space, or -1 for flexible spacing.
Spacing:AMOUNT
Type: Scalar Get/Set

The number of pixels for this spacing to take up. Whether this is horizontal or vertial space depends on whether this is being added to a horizontal-layout box or a vertical-layout box.