Style attributes common to all elements

Common presentation style attributes apply to any graphical element, such as windows, layout containers, or form items.

Important:
Common style attribute apply to basic layout elements such as containers (Group) and form widgets (Label, Button, Edit, CheckBox).

backgroundColor

Defines the color to be used to fill the background of the object.

For possible values, see Colors.

Default is no value (default background color of the object, or inherited background color).

border

Defines the border for the widget.

If value is "none", it removes the border.

Default is no value (the widget gets its default appearance).

This style attribute can for example be used for the IMAGE form item type.

fontFamily

Defines the name of the font.

For possible values, see Font families.

Default is no value (default object font or inherited font).

fontSize

Defines the size of the characters.

For possible values, see Font sizes.

Default is no value (default object font or inherited font).

fontStyle

Defines the style of characters.

For possible values, see Font styles.

Default is no value (default object font or inherited font).

fontWeight

Defines the weight of the characters.

Possible values for font weights depend on the front-end native font names, see Font weights for details.

Default is no value (default object font or inherited font).

textColor

Defines the color to be used to paint the text of the object.

For possible values, see Colors.

Default is no value (default object color or inherited color).

textDecoration

Defines the decoration for the text.

Values can be "overline", "underline" or "line-through".

Default is no value (default object font or inherited font).