LuaStyle

class LuaStyle - sort
gui :: LuaGui [R] Gui of the LuaGuiElement of this style.
name :: string [R] Name of this style.
minimal_width :: int [RW]
maximal_width :: int [RW]
minimal_height :: int [RW]
maximal_height :: int [RW]
top_padding :: int [RW]
right_padding :: int [RW]
bottom_padding :: int [RW]
left_padding :: int [RW]
font_color :: Color [RW]
font :: string [RW]
cell_spacing :: int [RW] Space between the table cell contents and border.
visible :: boolean [RW] When not visible the GUI element is hidden completely and takes no space in the layout.
hovered_font_color :: Color [RW]
clicked_font_color :: Color [RW]
disabled_font_color :: Color [RW]
pie_progress_color :: Color [RW]
max_on_row :: int [RW]
resize_row_to_width :: boolean [RW]
resize_to_row_height :: boolean [RW]
horizontal_spacing :: int [RW] Horizontal space between individual cells.
vertical_spacing :: int [RW] Vertical space between individual cells.
title_top_padding :: uint [RW]
title_right_padding :: uint [RW]
title_bottom_padding :: uint [RW]
title_left_padding :: uint [RW]
selection_background_color :: Color [RW] The background color when selecting text.
smooth_size :: uint [RW]
smooth_color :: Color [RW]
diode_count :: uint [RW]
column_alignments :: custom array of Alignment [R] Alignments of columns of the table
horizontal_scrollbar_spacing :: int [RW]
vertical_scrollbar_spacing :: int [RW]
valid :: boolean [R] Is this object valid?
help() → string All methods, and properties that this object supports.

Style of a GUI element. All of the attributes listed here may be nil if not available for a particular GUI element.

gui :: LuaGui [Read-only]

Gui of the LuaGuiElement of this style.

name :: string [Read-only]

Name of this style.

minimal_width :: int [Read-Write]

maximal_width :: int [Read-Write]

minimal_height :: int [Read-Write]

maximal_height :: int [Read-Write]

top_padding :: int [Read-Write]

right_padding :: int [Read-Write]

bottom_padding :: int [Read-Write]

left_padding :: int [Read-Write]

font_color :: Color [Read-Write]

font :: string [Read-Write]

cell_spacing :: int [Read-Write]

Space between the table cell contents and border.

Can only be used if this is LuaTableStyle
visible :: boolean [Read-Write]

When not visible the GUI element is hidden completely and takes no space in the layout.

hovered_font_color :: Color [Read-Write]

Can only be used if this is LuaButtonStyle
clicked_font_color :: Color [Read-Write]

Can only be used if this is LuaButtonStyle
disabled_font_color :: Color [Read-Write]

Can only be used if this is LuaButtonStyle
pie_progress_color :: Color [Read-Write]

Can only be used if this is LuaButtonStyle
max_on_row :: int [Read-Write]

Can only be used if this is LuaFlowStyle
resize_row_to_width :: boolean [Read-Write]

resize_to_row_height :: boolean [Read-Write]

horizontal_spacing :: int [Read-Write]

Horizontal space between individual cells.

Can only be used if this is LuaTableStyle
vertical_spacing :: int [Read-Write]

Vertical space between individual cells.

Can only be used if this is LuaTableStyle
title_top_padding :: uint [Read-Write]

Can only be used if this is LuaFrameStyle
title_right_padding :: uint [Read-Write]

Can only be used if this is LuaFrameStyle
title_bottom_padding :: uint [Read-Write]

Can only be used if this is LuaFrameStyle
title_left_padding :: uint [Read-Write]

Can only be used if this is LuaFrameStyle
selection_background_color :: Color [Read-Write]

The background color when selecting text.

Can only be used if this is LuaTextFieldStyle
smooth_size :: uint [Read-Write]

Can only be used if this is LuaProgressBarStyle
smooth_color :: Color [Read-Write]

Can only be used if this is LuaProgressBarStyle
diode_count :: uint [Read-Write]

Can only be used if this is LuaProgressBarStyle
column_alignments :: custom array of Alignment [Read-only]

Alignments of columns of the table

horizontal_scrollbar_spacing :: int [Read-Write]

Can only be used if this is LuaScrollPaneStyle
vertical_scrollbar_spacing :: int [Read-Write]

Can only be used if this is LuaScrollPaneStyle