Using styles

Every component instance has style properties and setStyle() and getStyle() (see UIObject.setStyle() and UIObject.getStyle()) methods that you can use to modify and access style properties. You can use styles to customize a component in the following ways:

Changes made to style properties are not displayed when viewing components on the Stage using the Live Preview feature. For more information, see Components in Live Preview.