Border
Every component comprises an inner and an outer border. Properties are specified separately for each.
Border Properties
Field | Name | Type | Description |
Position | pos | String | Inner or Outer, read-only field. |
Type | type | String | One of None, Empty, Line, Lowered, Raised or Etched. |
Top | top | Integer | Thickness of border at the top side of component. Applicable to Empty and Line borders. |
Left | left | Integer | Thickness of border at the left side of component. Applicable to Empty and Line borders. |
Bottom | bottom | Integer | Thickness of border at the bottom side of component. Applicable to Empty and Line borders. |
Right | right | Integer | Thickness of border at the right side of component. Applicable to Empty and Line borders. |
Primary Color | color | Color | Color of the border, or color of the main part of the border for two-color borders. Applicable to Line, Lowered, Raised and Etched borders. |
Secondary Color | scolor | Color | Color of the border's shadow or other decorations. Applicable to Lowered, Raised and Etched borders. |
Title | title | String | Text for the border's title. |
Title Color | tcolor | Color | Color of border's title. |
Title Justification | justification | Integer | Justification of border title - Left, Center or Right. |
Border Examples
An empty border is not visible, but may be used to add a title to the element:
A green border with a centered title in red:
A blue border with a different line thickness for each side:
Lowered border:
Raised border:
Etched border:
Was this page helpful?