Factorio.com|Forums|Wiki|Mod Portal|API Docs Prototype|Runtime|Auxiliary

# Factorio Prototype Docs Version 2.0.7

## TechnologySlotStyleSpecification :: struct

Inherits from ButtonStyleSpecification « StyleWithClickableGraphicalSetSpecification « BaseStyleSpecification

## Properties

- default
- sorted

highlighted_graphical_set optional | :: ElementImageSet |
default_background_shadow optional | :: ElementImageSet |
level_band optional | :: ElementImageSet |
hovered_level_band optional | :: ElementImageSet |
level_offset_x optional | :: int32 |
level_offset_y optional | :: int32 |
level_band_width optional | :: uint32 |
level_band_height optional | :: uint32 |
level_font optional | :: string | Name of a FontPrototype.
Name of a FontPrototype.
level_range_font optional | :: string | Name of a FontPrototype.
Name of a FontPrototype.
level_font_color optional | :: Color |
hovered_level_font_color optional | :: Color |
level_range_font_color optional | :: Color |
hovered_level_range_font_color optional | :: Color |
level_range_band optional | :: ElementImageSet |
hovered_level_range_band optional | :: ElementImageSet |
level_range_offset_x optional | :: int32 |
level_range_offset_y optional | :: int32 |
ingredients_height optional | :: uint32 |
default_ingredients_background optional | :: ElementImageSet |
hovered_ingredients_background optional | :: ElementImageSet |
clicked_ingredients_background optional | :: ElementImageSet |
disabled_ingredients_background optional | :: ElementImageSet |
highlighted_ingredients_background optional | :: ElementImageSet |
ingredients_padding optional | :: uint32 |
ingredient_icon_size optional | :: uint32 |
ingredient_icon_overlap optional | :: uint32 |
clicked_overlay optional | :: ElementImageSet |
progress_bar_background optional | :: ElementImageSet |
progress_bar optional | :: ElementImageSet |
progress_bar_shadow optional | :: ElementImageSet |
progress_bar_height optional | :: uint32 |
progress_bar_color optional | :: Color |

Inherited from ButtonStyleSpecification

type[overridden] | :: `"button_style"` |
font optional | :: string | Name of a FontPrototype.
Name of a FontPrototype.
default_font_color optional | :: Color |
hovered_font_color optional | :: Color |
clicked_font_color optional | :: Color |
disabled_font_color optional | :: Color |
selected_font_color optional | :: Color |
selected_hovered_font_color optional | :: Color |
selected_clicked_font_color optional | :: Color |
strikethrough_color optional | :: Color |
pie_progress_color optional | :: Color |
clicked_vertical_offset optional | :: uint32 |
draw_shadow_under_picture optional | :: bool |
draw_grayscale_picture optional | :: bool |
invert_colors_of_picture_when_hovered_or_toggled optional | :: bool |
invert_colors_of_picture_when_disabled optional | :: bool |
icon_horizontal_align optional | :: HorizontalAlign |

Inherited from StyleWithClickableGraphicalSetSpecification

default_graphical_set optional | :: ElementImageSet |
hovered_graphical_set optional | :: ElementImageSet |
clicked_graphical_set optional | :: ElementImageSet |
disabled_graphical_set optional | :: ElementImageSet |
selected_graphical_set optional | :: ElementImageSet |
selected_hovered_graphical_set optional | :: ElementImageSet |
game_controller_selected_hovered_graphical_set optional | :: ElementImageSet |
selected_clicked_graphical_set optional | :: ElementImageSet |
left_click_sound optional | :: Sound |

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 |

clicked_ingredients_background optional | :: ElementImageSet |
clicked_overlay optional | :: ElementImageSet |
default_background_shadow optional | :: ElementImageSet |
default_ingredients_background optional | :: ElementImageSet |
disabled_ingredients_background optional | :: ElementImageSet |
highlighted_graphical_set optional | :: ElementImageSet |
highlighted_ingredients_background optional | :: ElementImageSet |
hovered_ingredients_background optional | :: ElementImageSet |
hovered_level_band optional | :: ElementImageSet |
hovered_level_font_color optional | :: Color |
hovered_level_range_band optional | :: ElementImageSet |
hovered_level_range_font_color optional | :: Color |
ingredient_icon_overlap optional | :: uint32 |
ingredient_icon_size optional | :: uint32 |
ingredients_height optional | :: uint32 |
ingredients_padding optional | :: uint32 |
level_band optional | :: ElementImageSet |
level_band_height optional | :: uint32 |
level_band_width optional | :: uint32 |
level_font optional | :: string | Name of a FontPrototype.
Name of a FontPrototype.
level_font_color optional | :: Color |
level_offset_x optional | :: int32 |
level_offset_y optional | :: int32 |
level_range_band optional | :: ElementImageSet |
level_range_font optional | :: string | Name of a FontPrototype.
Name of a FontPrototype.
level_range_font_color optional | :: Color |
level_range_offset_x optional | :: int32 |
level_range_offset_y optional | :: int32 |
progress_bar optional | :: ElementImageSet |
progress_bar_background optional | :: ElementImageSet |
progress_bar_color optional | :: Color |
progress_bar_height optional | :: uint32 |
progress_bar_shadow optional | :: ElementImageSet |

Inherited from ButtonStyleSpecification

type[overridden] | :: `"button_style"` |
clicked_font_color optional | :: Color |
clicked_vertical_offset optional | :: uint32 |
default_font_color optional | :: Color |
disabled_font_color optional | :: Color |
draw_grayscale_picture optional | :: bool |
draw_shadow_under_picture optional | :: bool |
font optional | :: string | Name of a FontPrototype.
Name of a FontPrototype.
hovered_font_color optional | :: Color |
icon_horizontal_align optional | :: HorizontalAlign |
invert_colors_of_picture_when_disabled optional | :: bool |
invert_colors_of_picture_when_hovered_or_toggled optional | :: bool |
pie_progress_color optional | :: Color |
selected_clicked_font_color optional | :: Color |
selected_font_color optional | :: Color |
selected_hovered_font_color optional | :: Color |
strikethrough_color optional | :: Color |

Inherited from StyleWithClickableGraphicalSetSpecification

clicked_graphical_set optional | :: ElementImageSet |
default_graphical_set optional | :: ElementImageSet |
disabled_graphical_set optional | :: ElementImageSet |
game_controller_selected_hovered_graphical_set optional | :: ElementImageSet |
hovered_graphical_set optional | :: ElementImageSet |
left_click_sound optional | :: Sound |
selected_clicked_graphical_set optional | :: ElementImageSet |
selected_graphical_set optional | :: ElementImageSet |
selected_hovered_graphical_set optional | :: ElementImageSet |

Inherited from BaseStyleSpecification

bottom_margin optional | :: int16 |
bottom_padding 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 |
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.
horizontal_align optional | :: HorizontalAlign |
horizontally_squashable optional | :: StretchRule |
horizontally_stretchable optional | :: StretchRule |
ignored_by_search optional | :: bool |
left_margin 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.
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. [...]
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. [...]
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. [...]
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. [...]
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.
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`. [...]
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.
never_hide_by_search optional | :: bool |
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.
parent optional | :: string | Name of a StyleSpecification. [...]
Name of a StyleSpecification. [...]
right_margin optional | :: int16 |
right_padding optional | :: int16 |
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`. [...]
tooltip optional | :: LocalisedString |
top_margin optional | :: int16 |
top_padding optional | :: int16 |
vertical_align optional | :: VerticalAlign |
vertically_squashable optional | :: StretchRule |
vertically_stretchable optional | :: StretchRule |
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.

## Properties

### highlighted_graphical_set :: ElementImageSet optional

### default_background_shadow :: ElementImageSet optional

### level_band :: ElementImageSet optional

### hovered_level_band :: ElementImageSet optional

### level_offset_x :: int32 optional

### level_offset_y :: int32 optional

### level_band_width :: uint32 optional

### level_band_height :: uint32 optional

### level_font :: string optional

Name of a FontPrototype.

### level_range_font :: string optional

Name of a FontPrototype.

### level_font_color :: Color optional

### hovered_level_font_color :: Color optional

### level_range_font_color :: Color optional

### hovered_level_range_font_color :: Color optional

### level_range_band :: ElementImageSet optional

### hovered_level_range_band :: ElementImageSet optional

### level_range_offset_x :: int32 optional

### level_range_offset_y :: int32 optional

### ingredients_height :: uint32 optional

### default_ingredients_background :: ElementImageSet optional

### hovered_ingredients_background :: ElementImageSet optional

### clicked_ingredients_background :: ElementImageSet optional

### disabled_ingredients_background :: ElementImageSet optional

### highlighted_ingredients_background :: ElementImageSet optional

### ingredients_padding :: uint32 optional

### ingredient_icon_size :: uint32 optional

### ingredient_icon_overlap :: uint32 optional

### clicked_overlay :: ElementImageSet optional

### progress_bar_background :: ElementImageSet optional

### progress_bar :: ElementImageSet optional

### progress_bar_shadow :: ElementImageSet optional

### progress_bar_height :: uint32 optional

### progress_bar_color :: Color optional

## Overridden Properties

### type :: `"technology_slot_style"`

Type used in

- StyleSpecification