parent optional | :: string | Name of a StyleSpecification. [...] |
Name of a StyleSpecification. [...] | ||
horizontal_align optional | :: HorizontalAlign | |
vertical_align optional | :: VerticalAlign | |
ignored_by_search optional | :: bool | |
never_hide_by_search optional | :: bool | |
horizontally_stretchable optional | :: StretchRule | |
vertically_stretchable optional | :: StretchRule | |
horizontally_squashable optional | :: StretchRule | |
vertically_squashable optional | :: StretchRule | |
natural_size optional | :: uint32 or {uint32, uint32} | If this is a tuple, the first member sets |
If this is a tuple, the first member sets | ||
size optional | :: uint32 or {uint32, uint32} | If this is a tuple, the first member sets |
If this is a tuple, the first member sets | ||
width optional | :: uint32 | Sets |
Sets | ||
minimal_width optional | :: uint32 | Minimal width ensures that the widget will never be smaller than than that size. [...] |
Minimal width ensures that the widget will never be smaller than than that size. [...] | ||
maximal_width optional | :: uint32 | Maximal width ensures that the widget will never be bigger than than that size. [...] |
Maximal width ensures that the widget will never be bigger than than that size. [...] | ||
natural_width optional | :: uint32 | Natural width specifies the width of the element tries to have, but it can still be squashed/stretched to have a different size. |
Natural width specifies the width of the element tries to have, but it can still be squashed/stretched to have a different size. | ||
height optional | :: uint32 | Sets |
Sets | ||
minimal_height optional | :: uint32 | Minimal height ensures that the widget will never be smaller than than that size. [...] |
Minimal height ensures that the widget will never be smaller than than that size. [...] | ||
maximal_height optional | :: uint32 | Maximal height ensures that the widget will never be bigger than than that size. [...] |
Maximal height ensures that the widget will never be bigger than than that size. [...] | ||
natural_height optional | :: uint32 | Natural height specifies the height of the element tries to have, but it can still be squashed/stretched to have a different size. |
Natural height specifies the height of the element tries to have, but it can still be squashed/stretched to have a different size. | ||
padding optional | :: int16 | Sets |
Sets | ||
top_padding optional | :: int16 | |
right_padding optional | :: int16 | |
bottom_padding optional | :: int16 | |
left_padding optional | :: int16 | |
margin optional | :: int16 | Sets |
Sets | ||
top_margin optional | :: int16 | |
right_margin optional | :: int16 | |
bottom_margin optional | :: int16 | |
left_margin optional | :: int16 | |
effect optional | :: union | Name of a custom GUI effect, which are hard-coded in the game's engine. [...] |
Name of a custom GUI effect, which are hard-coded in the game's engine. [...] | ||
effect_opacity optional | :: float | |
tooltip optional | :: LocalisedString |