jStage.Stage.defaultUIStyle

Description

An object containing fallback style properties for jStage.UIActor objects that may not have a value set themselves.

Hierarchy

Remarks

Avoid directly altering these properties after instantiating any UI actors where possible. If you wish to do so, you will need to manually call jStage.UIActor._updateActualBorder and jStage.UIActor._updateActualFont on each UIActor to see the new defaults take effect.

Property List

Property Documentation

borderColour

UIActor CSS border colour.

borderWidth

UIActor border width.

fontFamily

UIActor CSS font family.

fontFillColour

UIActor CSS font fill colour.

fontSize

UIActor font size.

fontStyle

UIActor CSS font style.

textAlign

UIActor text horizontal alignment (see jStage._allowedTextAlignments for allowed values).

textVerticalAlign

UIActor text vertical alignment (see jStage._allowedTextVerticalAlignments for allowed values).