Customizer's Guide > Working with XUI (XML-based User Interface) Dialog Boxes > XUI Element Reference > <tabpanel> Element
  
<tabpanel> Element
The <tabpanel> element creates a tabbed panel control that is a box (or page) within a tabbed box. The element can have the following child elements:
<box>, <button>, <checkbox>, <colordropdown>, <combobox>, <description>, <grid>, <groupbox>, <label>, <listbox>, <morph>, <picturebox>, <radio>, <radiogroup>, <script>, <separator>, <slider>, <spacer>, <spinner>, <tabbox>, <tablecontrol>, <textbox>, <treecontrol>, <unitdimensionbox>
The <tabpanel> element has the following attributes:
align = start | center | end
Default is start. Specifies how space not used by the children is laid out. start places space below children. center evenly distributes space above and below children. end places space above children.
childrensize = vary | equalwidth | equalheight | equal
Specifies whether the children of this control will have the same height and width as each other. Default is vary. If vary, the height and width of the children will not be restricted. If equalwidth, the width of the children will be the same as that of the widest child. If equalheight, the height of the children will be the same as that of the tallest child. If equal, the width of the children will be the same as that of the widest child and the height of the children will be the same as that of the tallest child..
height = CDATA
Number specifying the height in pixels to allocate for this control.
id = ID
Identifies the control.
label = CDATA
Specifies the text to display next to the control.
orient = vertical | horizontal
Default is horizontal. Specifies the layout for the container children.
pack = start | center | end | spread | stretch
Default is spread. Specifies how space not used by the children is laid out. start places space after children. center evenly distributes space before and after children. end places space before children. spread evenly distributes space before, between, and after children. stretch evenly distributes space between children, with no space before or after children.
resize = none | both | height | width | natural
Default is natural. If width, the control allows horizontal resizing only. If height, the control allows vertical resizing only. If both, the control allows resizing in both directions. If none, the control doesn't resize in either direction. If natural, the control allows horizontal and vertical resizing.
width = CDATA
Number specifying the width in pixels to allocate for this control.