Skip to main content

Layout

The <layout> element is used to create containers.

Attributes​

AttributeTypeDefaultDescription
positioningSee the Position attributes reference
sizingSee the Sizing attributes reference
depthSee the Depth attributes reference
backgroundSee the Background attributes reference
behaviorsSee the Behaviors attributes reference
orientationSTRINGhorizontalSpecifies the distribution of children elements. It can be either vertical or horizontal
alignmentSTRINGtop,leftSpecifies the position of children elements within the container. A mix of top, middle, bottom (for vertical alignment) with left, center, right (for horizontal alignment)
spacerINTEGER0Specifies the default spaces in pixels between each child

Children​

A <layout> can contain any of the following elements:

These attributes apply to the following statement:

info

A <layout> must contain at least one child element.