Factorio Prototype DocsVersion 2.0.19

TableStyleSpecification :: struct

Inherits from BaseStyleSpecification

Properties

type :: "table_style"
horizontal_spacing optional :: int32
vertical_spacing optional :: int32
cell_padding optional :: int16

Sets top_cell_padding, right_cell_padding, bottom_cell_padding and left_cell_padding to the same value.

Sets top_cell_padding, right_cell_padding, bottom_cell_padding and left_cell_padding to the same value.

top_cell_padding optional :: int16
right_cell_padding optional :: int16
bottom_cell_padding optional :: int16
left_cell_padding optional :: int16
apply_row_graphical_set_per_column optional :: bool
wide_as_column_count optional :: bool
column_graphical_set optional :: ElementImageSet
default_row_graphical_set optional :: ElementImageSet
even_row_graphical_set optional :: ElementImageSet
odd_row_graphical_set optional :: ElementImageSet
hovered_graphical_set optional :: ElementImageSet
clicked_graphical_set optional :: ElementImageSet
selected_graphical_set optional :: ElementImageSet
selected_hovered_graphical_set optional :: ElementImageSet
selected_clicked_graphical_set optional :: ElementImageSet
background_graphical_set optional :: ElementImageSet
column_alignments optional :: array[ColumnAlignment]
column_widths optional :: ColumnWidthItem or array[ColumnWidth]
hovered_row_color optional :: Color
selected_row_color optional :: Color
vertical_line_color optional :: Color
horizontal_line_color optional :: Color
column_ordering_ascending_button_style optional :: ButtonStyleSpecification
column_ordering_descending_button_style optional :: ButtonStyleSpecification
inactive_column_ordering_ascending_button_style optional :: ButtonStyleSpecification
inactive_column_ordering_descending_button_style optional :: ButtonStyleSpecification
border optional :: BorderImageSet

Inherited from BaseStyleSpecification
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 natural_width and the second sets natural_height. [...]

If this is a tuple, the first member sets natural_width and the second sets natural_height. [...]

size optional :: uint32 or {uint32, uint32}

If this is a tuple, the first member sets width, and the second sets height. [...]

If this is a tuple, the first member sets width, and the second sets height. [...]

width optional :: uint32

Sets minimal_width, maximal_width and natural_width to the same value.

Sets minimal_width, maximal_width and natural_width to the same value.

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 minimal_height, maximal_height and natural_height to the same value.

Sets minimal_height, maximal_height and natural_height to the same value.

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 top_padding, right_padding, bottom_padding and left_padding to the same value.

Sets top_padding, right_padding, bottom_padding and left_padding to the same value.

top_padding optional :: int16
right_padding optional :: int16
bottom_padding optional :: int16
left_padding optional :: int16
margin optional :: int16

Sets top_margin, right_margin, bottom_margin and left_margin to the same value.

Sets top_margin, right_margin, bottom_margin and left_margin to the same value.

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

Properties

type :: "table_style"

horizontal_spacing :: int32 optional

vertical_spacing :: int32 optional

cell_padding :: int16 optional

Sets top_cell_padding, right_cell_padding, bottom_cell_padding and left_cell_padding to the same value.

top_cell_padding :: int16 optional

right_cell_padding :: int16 optional

bottom_cell_padding :: int16 optional

left_cell_padding :: int16 optional

apply_row_graphical_set_per_column :: bool optional

wide_as_column_count :: bool optional

column_graphical_set :: ElementImageSet optional

default_row_graphical_set :: ElementImageSet optional

even_row_graphical_set :: ElementImageSet optional

odd_row_graphical_set :: ElementImageSet optional

hovered_graphical_set :: ElementImageSet optional

clicked_graphical_set :: ElementImageSet optional

selected_graphical_set :: ElementImageSet optional

selected_hovered_graphical_set :: ElementImageSet optional

selected_clicked_graphical_set :: ElementImageSet optional

background_graphical_set :: ElementImageSet optional

column_alignments :: array[ColumnAlignment] optional

column_widths :: ColumnWidthItem or array[ColumnWidth] optional

hovered_row_color :: Color optional

selected_row_color :: Color optional

vertical_line_color :: Color optional

horizontal_line_color :: Color optional

column_ordering_ascending_button_style :: ButtonStyleSpecification optional

column_ordering_descending_button_style :: ButtonStyleSpecification optional

inactive_column_ordering_ascending_button_style :: ButtonStyleSpecification optional

inactive_column_ordering_descending_button_style :: ButtonStyleSpecification optional

border :: BorderImageSet optional

Prototypes

Types

Defines