
CHAPTER 4: User-Interface Tools Window object 115
Container properties
The following table shows properties that apply to Window objects and container objects (controls of type
panel, tabbedpanel, tab, and group).
alignChildren
String, or Array
of 2 Strings
Tells the layout manager how unlike-sized children of a container
should be aligned within a column or row. Order of creation
determines which children are at the top of a column or the left of
a row; the earlier a child is created, the closer it is to the top or left
of its column or row.
If defined, alignment
for a child element overrides the
alignChildren setting for the parent container.
For a single string value, allowed values depend on the
orientation value. For orientation=row:
top
bottom
center (default)
fill
For orientation=column:
left
right
center (default)
fill
For orientation=stack:
top
bottom
left
right
center (default)
fill
For an array value, the first string element defines the horizontal
alignment and the second element defines the vertical
alignment. The horizontal alignment value must be one of
left,
right, center or fill. The vertical alignment value must be one
of
top, bottom, center, or fill.
Values are not case sensitive.
Comentários a estes Manuais