Types/TabStyleSpecification

From Official Factorio Wiki
Revision as of 17:51, 16 August 2023 by BilkaBot (talk | contribs) (Migrated prototype doc to separate website)
Jump to navigation Jump to search

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/types/TabStyleSpecification.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.


Extension of Types/StyleSpecification.
Style specification type: tab_style

Optional properties

Inherits all properties from Types/StyleSpecification.

font

Type: string

Name of a Prototype/Font.

badge_font

Type: string

Name of a Prototype/Font.

badge_horizontal_spacing

Type: int16

default_font_color

Type: Color

selected_font_color

Type: Color

disabled_font_color

Type: Color

default_badge_font_color

Type: Color

selected_badge_font_color

Type: Color

disabled_badge_font_color

Type: Color

default_graphical_set

Type: ElementImageSet

selected_graphical_set

Type: ElementImageSet

hover_graphical_set

Type: ElementImageSet

game_controller_selected_hover_graphical_set

Type: ElementImageSet

press_graphical_set

Type: ElementImageSet

disabled_graphical_set

Type: ElementImageSet

override_graphics_on_edges

Type: bool

left_edge_selected_graphical_set

Type: ElementImageSet

right_edge_selected_graphical_set

Type: ElementImageSet

default_badge_graphical_set

Type: ElementImageSet

selected_badge_graphical_set

Type: ElementImageSet

hover_badge_graphical_set

Type: ElementImageSet

press_badge_graphical_set

Type: ElementImageSet

disabled_badge_graphical_set

Type: ElementImageSet

draw_grayscale_picture

Type: bool

left_click_sound

Type: Sound