Theme/Style Hierarchy

Themes and styles in LANSA are cumulative. The hierarchy of processing is as follows:

Default Appearance

The default appearance of the control is applied.

Themes

Theme draw styles are layered on top.

When a Theme is applied, theme draw styles are applied to the control. For example, if a normal push button has a draw style that makes the font bold and underlined, the button will have bold, underlined text and all other styling will remain as is.

Styles

Individual styles are used to define the final detail if required.

If a local style is then applied, which makes the font blue, the button will have bold, underlined and blue text. Other than that, it will look like a button.