The <divider> tag creates a split pane containing two components, with a movable dividing bar that can be used to specify how much of the available space should be allocated to each component. The divider can be oriented horizontally or vertically.
Name | Description | Legal Values | Default |
orientation |
The orientation of the divider. In the "vertical" orientation, one component appears above the other. In the horizontal orientation, components are laid out to the left and right of each other. |
HORZ VERT |
VERT |
dividerloc |
The initial position of the divider. If the divider position is followed by a % sign, the value is interpreted as the percentage of the available space to use for the first component. If the divider position is not followed by a % sign, it is interpreted as the size, in pixels, of the first component. |
either a percentage between 0-100, followed by a percent sign, or a positive number of pixels |
50% |
Also see common parameters .
The divider tag contains two tags, <first> and <second>, each of which contains a single component. If the orientation is HORZ, the component in the <first> tag will appear to the left of the component in the <second> tag. If the orientation is VERT, the component in the <first> tag will appear above the component in the <second> tag.
<xmllayout>
<divider orientation="HORZ">
<first>
<component id="DAG" />
</first>
<second>
<component id="TEXTEDIT" />
</second>
</divider>
</xmllayout>