static-layout lays out its children, it positions them at the
specified as hints (using
:y), and sizes them to their minimum size (which can be specified using
is true, the
static-layout is made sufficiently large to accommodate all of its children, and grows and modifies its scrollbars (if they exist) if necessary when a child is added. This is the default behavior. Otherwise the static layout has a minimum size of one pixel by one pixel which is not affected by the size of its children. If you need the sizing capabilities, then use the class simple-layout which surrounds a single child, and adopts the size constraints of that child.
There are further examples in Self-contained examples.
CAPI User Guide and Reference Manual (Macintosh version) - 25 Feb 2015