controlGroup

<controlGroup> represents a control containing a collection of child controls. Control groups can specify hints about layout of child controls within the group (default horizontal and vertical alignment), used when the client rendering is not precise.

The collection of child controls contained within this control group is represented using sub-elements. The coordinate system of child controls is assumed to be relative to the client area of the parent control group.

Attributes

The attributes for this element are described below:

name

Unique ID for this control.

top

Top-most Y coordinate.

left

Left-most X coordinate.

width

Width of the control.

height

Height of the control.

text‑align

(optional) Text alignment: left or right. By default, left alignment is assumed.

h‑align

(optional) Default horizontal alignment of child controls within the control group: left or right. Useful when the actual rendered size of a child control differs from the size specified in the layout. By default, left alignment is assumed.

v-align

(optional) Default vertical alignment of child controls within the control group: top, middle, or bottom. Useful when the actual rendered size of a child control differs from the size specified in the layout. By default, top alignment is assumed.

border

(optional) Border style: none, solid or etched. By default, solid is assumed.

Children

One or more control sub-elements.