EXPAND (non-inheritable)
Allows the element to expand, fulfilling empty spaces inside its container.
It is a non-inheritable attribute, but a container inherits its parent's EXPAND attribute. When set at a container, it will not affect its children, except for those that are containers.
The expansion is done equally for all expandable elements in the same container.
For a container, the actual EXPAND value will always be a combination of its own value and the value of its children. A container can only expand if its children can expand too in the same direction.
The HORIZONTALFREE and VERTICALFREE values will not behave as normal expansion. These values will NOT affect the expansion of the container when set at its children, the children expand to the available free space at the container.
See the Layout Guide for more details on sizes.
Value
"YES" (both directions), "HORIZONTAL", "VERTICAL", "HORIZONTALFREE", "VERTICALFREE" or "NO".
Default: "NO". For containers, the default is "YES".
Affects
All elements, except menus.