Layout
The <layout> element is used to create containers.
Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
| positioning | See the Position attributes reference | ||
| sizing | See the Sizing attributes reference | ||
| depth | See the Depth attributes reference | ||
| background | See the Background attributes reference | ||
| behaviors | See the Behaviors attributes reference | ||
| orientation | STRING | horizontal | Specifies the distribution of children elements. It can be either vertical or horizontal |
| alignment | STRING | top,left | Specifies the position of children elements within the container. A mix of top, middle, bottom (for vertical alignment) with left, center, right (for horizontal alignment) |
| spacer | INTEGER | 0 | Specifies 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.