Types/ScrollPaneStyleSpecification

From Official Factorio Wiki
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/ScrollPaneStyleSpecification.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: scroll_pane_style

Optional properties

Inherits all properties from Types/StyleSpecification.

vertical_flow_style

Type: VerticalFlowStyleSpecification

horizontal_scrollbar_style

Type: HorizontalScrollBarStyleSpecification

vertical_scrollbar_style

Type: VerticalScrollBarStyleSpecification

graphical_set

Type: ElementImageSet

background_graphical_set

Type: ElementImageSet

extra_padding_when_activated

Type: int32

Sets extra_top_padding_when_activated, extra_bottom_padding_when_activated, extra_left_padding_when_activated and extra_right_padding_when_activated.

extra_top_padding_when_activated

Type: int32

extra_bottom_padding_when_activated

Type: int32

extra_left_padding_when_activated

Type: int32

extra_right_padding_when_activated

Type: int32

extra_margin_when_activated

Type: int32

Sets extra_top_margin_when_activated, extra_bottom_margin_when_activated, extra_left_margin_when_activated and extra_right_margin_when_activated.

extra_top_margin_when_activated

Type: int32

Default: 0

extra_bottom_margin_when_activated

Type: int32

Default: 0

extra_left_margin_when_activated

Type: int32

Default: 0

extra_right_margin_when_activated

Type: int32

Default: 0

dont_force_clipping_rect_for_contents

Type: bool