
| gui | :: R LuaGui | Gui of the LuaGuiElement of this style. |
Gui of the LuaGuiElement of this style. | ||
| name | :: R string | Name of this style. |
Name of this style. | ||
| minimal_width | :: RW int32 | 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 | :: RW int32 | 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. [...] | ||
| minimal_height | :: RW int32 | 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 | :: RW int32 | 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_width | :: RW int32 | Natural width specifies the width of the element tries to have, but it can still be squashed/stretched to have a smaller or bigger size. |
Natural width specifies the width of the element tries to have, but it can still be squashed/stretched to have a smaller or bigger size. | ||
| natural_height | :: RW int32 | Natural height specifies the height of the element tries to have, but it can still be squashed/stretched to have a smaller or bigger size. |
Natural height specifies the height of the element tries to have, but it can still be squashed/stretched to have a smaller or bigger size. | ||
| top_padding | :: RW int32 | |
| right_padding | :: RW int32 | |
| bottom_padding | :: RW int32 | |
| left_padding | :: RW int32 | |
| top_margin | :: RW int32 | |
| right_margin | :: RW int32 | |
| bottom_margin | :: RW int32 | |
| left_margin | :: RW int32 | |
| horizontal_align | :: RW "left" or "center" or "right"? | Horizontal align of the inner content of the widget, if any. |
Horizontal align of the inner content of the widget, if any. | ||
| vertical_align | :: RW "top" or "center" or "bottom"? | Vertical align of the inner content of the widget, if any. |
Vertical align of the inner content of the widget, if any. | ||
| font_color | :: RW Color | |
| font | :: RW string | |
| top_cell_padding | :: RW int32 | Space between the table cell contents top and border. |
Space between the table cell contents top and border. | ||
| right_cell_padding | :: RW int32 | Space between the table cell contents right and border. |
Space between the table cell contents right and border. | ||
| bottom_cell_padding | :: RW int32 | Space between the table cell contents bottom and border. |
Space between the table cell contents bottom and border. | ||
| left_cell_padding | :: RW int32 | Space between the table cell contents left and border. |
Space between the table cell contents left and border. | ||
| horizontally_stretchable | :: RW boolean? | Whether the GUI element stretches its size horizontally to other elements. [...] |
Whether the GUI element stretches its size horizontally to other elements. [...] | ||
| vertically_stretchable | :: RW boolean? | Whether the GUI element stretches its size vertically to other elements. [...] |
Whether the GUI element stretches its size vertically to other elements. [...] | ||
| horizontally_squashable | :: RW boolean? | Whether the GUI element can be squashed (by maximal width of some parent element) horizontally. [...] |
Whether the GUI element can be squashed (by maximal width of some parent element) horizontally. [...] | ||
| vertically_squashable | :: RW boolean? | Whether the GUI element can be squashed (by maximal height of some parent element) vertically. [...] |
Whether the GUI element can be squashed (by maximal height of some parent element) vertically. [...] | ||
| rich_text_setting | :: RW defines.rich_text_setting | How this GUI element handles rich text. |
How this GUI element handles rich text. | ||
| hovered_font_color | :: RW Color | |
| clicked_font_color | :: RW Color | |
| disabled_font_color | :: RW Color | |
| pie_progress_color | :: RW Color | |
| clicked_vertical_offset | :: RW int32 | |
| selected_font_color | :: RW Color | |
| selected_hovered_font_color | :: RW Color | |
| selected_clicked_font_color | :: RW Color | |
| strikethrough_color | :: RW Color | |
| draw_grayscale_picture | :: RW boolean | |
| horizontal_spacing | :: RW int32 | Horizontal space between individual cells. |
Horizontal space between individual cells. | ||
| vertical_spacing | :: RW int32 | Vertical space between individual cells. |
Vertical space between individual cells. | ||
| use_header_filler | :: RW boolean | |
| bar_width | :: RW uint32 | |
| color | :: RW Color | |
| column_alignments | :: R LuaCustomTable[uint32 → Alignment] | Array containing the alignment for every column of this table element. [...] |
Array containing the alignment for every column of this table element. [...] | ||
| single_line | :: RW boolean | |
| extra_top_padding_when_activated | :: RW int32 | |
| extra_bottom_padding_when_activated | :: RW int32 | |
| extra_left_padding_when_activated | :: RW int32 | |
| extra_right_padding_when_activated | :: RW int32 | |
| extra_top_margin_when_activated | :: RW int32 | |
| extra_bottom_margin_when_activated | :: RW int32 | |
| extra_left_margin_when_activated | :: RW int32 | |
| extra_right_margin_when_activated | :: RW int32 | |
| extra_padding_when_activated | :: W int32 or array[int32] | Sets |
Sets | ||
| extra_margin_when_activated | :: W int32 or array[int32] | Sets |
Sets | ||
| stretch_image_to_widget_size | :: RW boolean | |
| badge_font | :: RW string | |
| badge_horizontal_spacing | :: RW int32 | |
| default_badge_font_color | :: RW Color | |
| selected_badge_font_color | :: RW Color | |
| disabled_badge_font_color | :: RW Color | |
| width | :: W int32 | Sets both minimal and maximal width to the given value. |
Sets both minimal and maximal width to the given value. | ||
| height | :: W int32 | Sets both minimal and maximal height to the given value. |
Sets both minimal and maximal height to the given value. | ||
| size | :: W int32 or array[int32] | Sets both width and height to the given value. [...] |
Sets both width and height to the given value. [...] | ||
| padding | :: W int32 or array[int32] | Sets top/right/bottom/left paddings to this value. [...] |
Sets top/right/bottom/left paddings to this value. [...] | ||
| margin | :: W int32 or array[int32] | Sets top/right/bottom/left margins to this value. [...] |
Sets top/right/bottom/left margins to this value. [...] | ||
| cell_padding | :: W int32 | Space between the table cell contents and border. [...] |
Space between the table cell contents and border. [...] | ||
| valid | :: R boolean | Is this object valid? [...] |
Is this object valid? [...] | ||
| object_name | :: R string | The class name of this object. [...] |
The class name of this object. [...] | ||











































table_element.style.column_alignments[1] = "center"



















