The abstract base of all StyleSpecifications.
struct
stringtrueName of a StyleSpecification. This style inherits all property values from its parent.
Styles without a parent property default to the root style for their type. The exception to this are the root styles themselves, as they cannot have a parent set. Due to this, for root styles, some style properties are mandatory and behavior may be unexpected, such as an element not showing up because its size defaults to 0.
HorizontalAligntrueVerticalAligntruebooleantruebooleantrueStretchRuletrueStretchRuletrueStretchRuletrueStretchRuletrueuint32 | Tuple<uint32, uint32>trueIf this is a tuple, the first member sets natural_width and the second sets natural_height. Otherwise, both natural_width and natural_height are set to the same value.
uint32 | Tuple<uint32, uint32>trueIf this is a tuple, the first member sets width, and the second sets height. Otherwise, both width and height are set to the same value.
uint32trueSets minimal_width, maximal_width and natural_width to the same value.
uint32trueMinimal width ensures that the widget will never be smaller than than that size. It can't be squashed to be smaller.
uint32trueMaximal width ensures that the widget will never be bigger than than that size. It can't be stretched to be bigger.
uint32trueNatural width specifies the width of the element tries to have, but it can still be squashed/stretched to have a different size.
uint32trueSets minimal_height, maximal_height and natural_height to the same value.
uint32trueMinimal height ensures that the widget will never be smaller than than that size. It can't be squashed to be smaller.
uint32trueMaximal height ensures that the widget will never be bigger than than that size. It can't be stretched to be bigger.
uint32trueNatural height specifies the height of the element tries to have, but it can still be squashed/stretched to have a different size.
int16trueSets top_padding, right_padding, bottom_padding and left_padding to the same value.
int16trueint16trueint16trueint16trueint16trueSets top_margin, right_margin, bottom_margin and left_margin to the same value.
int16trueint16trueint16trueint16true"compilatron-hologram"trueName of a custom GUI effect, which are hard-coded in the game's engine. Only has one option currently.
floattrueLocalisedStringtrue