Attribute | Mand. | Description | Default |
action | no | Action where the constraint is used. May be null when used for all actions. | |
type | no | Specifies if the constraint applies on the label (CAPTION) or on the input field (FIELD, default value). | FIELD |
colSpan | no | Allows to specify the width occupied by the component inside its parent in comparison with the other components. The expected value is an integer value. There is a special value, remainder, which allows to specify that the component must occupy the whole space remaining available in width. A negative or null value is equivalent to the remainder value. The value -2 corresponds to using the default size. |
|
rowSpan | no | Allows to specify the height occupied by the component inside its parent in comparison with the other components. The expected value is an integer value. There is a special value, remainder, which allows to specify that the component must occupy the whole space remaining available in height. A negative or null value is equivalent to the remainder value. The value -2 corresponds to using the default size. |
|
colWeight | no | Allows to specify the percentage of horizontal enlargement of the component if its parent has enough free space available. The expected value is a positive integer value corresponding to a weight (the weights of the different components contained in the parent allow to perform a barycentric distribution of the space that is allocated to each component). A negative value is equivalent to the value 0. |
|
rowWeight | no | Allows to specify the percentage of vertical enlargement of the component if its parent has enough free space available. The expected value is a positive integer value corresponding to a weight (the weights of the different components contained in the parent allow to perform a barycentric distribution of the space that is allocated to each component). A negative value is equivalent to the value 0. |
|
remainder | no | Allows to specify that the input field is taken all the remaining place on line where it is located. The default value is false. | false |
fill | no | Allows to specify the way the component must be increased if the place it has available is greater than its default size. - HORIZONTAL: Horizontal stretching. - VERTICAL: Vertical stretching. - BOTH: Stretching in both directions. - DEFAULT: Default stretching mode. - NONE: No stretching. |
DEFAULT |
hAlign | no | Allows to specify the horizontal position of the component. The DEFAULT value lets the viewer decide the way the component will be placed. |
DEFAULT |
vAlign | no | Allows to specify the vertical position of the component. The DEFAULT value lets the viewer decide the way the component will be placed. |
DEFAULT |
<CONSTRAINT colSpan="2" rowSpan="3" fill="NONE"/> <!-- The input field is under the label --> <CONSTRAINT type='CAPTION' remainder='true'/> |