Attribute | Mand. | Description | Default |
id | no | SPLITTER.id | |
template | no | SPLITTER.template | |
style | no | Indicates whether the panels should be placed horizontally or vertically. HORIZONTAL: Indicates that the panels are placed horizontally and that the separation bar is vertical. VERTICAL: Indicates that the panels are placed vertically and that the separation bar is horizontal. |
HORIZONTAL |
activePart | no | SPLITTER.activePart | FIRST |
sizes | no | Indicates the proportional size of each panel inside the container. The expected values are positive integer values separated by blanks. The umpteenth provided value corresponds to the umpteenth panel inserted in the container. The value 0 corresponds to the null size for a given panel. A negative value indicates that the place occupied by the concerned panel should be a fixed size and should correspond to the default size of the panel. If a non integer value (examples: 'tkj', '1.34', '3%',...) is specified, this value is equivalent to the value 0. If the number of sizes is greater than the total number of panels, the additional sizes are ignored. If the number of sizes is lower than the total number of panels, the missing size are replaced by the value 10. |
|
resizable | no | Indicates if the separators can be moved. | true |
color | no | SPLITTER.color | |
firstTooltip | no | Tooltip of the button that hides or shows the first part of the splitter. | |
secondTooltip | no | Tooltip of the button that hides or shows the second part of the splitter. |
<!ELEMENT SPLITTER ((%PANEL;)*, CONSTRAINT?, DATA*)> |
Element | Mand. | Mult. | Description |
PANEL |
no | yes | List of additional panels of the container. At least one is needed in order to have at least two panels. |
CONSTRAINT | no | no | Positioning constraint of the panels splitter. |
DATA | no | yes | SPLITTER.DATA |
<!-- Panels with separator of vertical type: the first panel occupies 30% of the total place (sizes="3 7") --> <SPLITTER style="VERTICAL" sizes="3 7"> <!-- First panel: tree --> <TREE id="_tree"> <TREE_NODE label="Administration" image="admin.gif"/> </TREE> <!-- Second panel: form --> <FORM id="_form"> <FIELD id="BR_NAME_ID"> <CAPTION label="Nom"/> <TEXT label="Dupont"/> </FIELD> </FORM> </SPLITTER> |
![]() |