Defining Styles

To define styles, you:

Step

Description

Add a style

Adding a style specifies a name for a new style and what component or component class to which to apply the style.

Add states

States, such as mouseOver, selected, normal and so forth, control when to apply stylesheet attribute values.

Studio adds the normal state to each new style by default. You can add or remove states to the style and specify unique component attribute values for each state.

Add attributes and attribute values

Select attributes for the type of component to which this style applies and specify values for these attributes in one or more states.