Types/ScrollPaneStyleSpecification: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "Extension of Types/StyleSpecification.<br> Style specification type: '''scroll_pane_style''' == Optional properties == Inherits all properties from Types/StyleSpecifica...")
 
(0.18.22)
 
Line 21: Line 21:


=== extra_padding_when_activated ===
=== extra_padding_when_activated ===
'''Type''': [[Types/int32|int32]]
Sets <code>extra_top_padding_when_activated</code>, <code>extra_bottom_padding_when_activated</code>, <code>extra_left_padding_when_activated</code> and <code>extra_right_padding_when_activated</code>.
=== extra_top_padding_when_activated ===
'''Type''': [[Types/int32|int32]]
=== extra_bottom_padding_when_activated ===
'''Type''': [[Types/int32|int32]]
=== extra_left_padding_when_activated ===
'''Type''': [[Types/int32|int32]]
=== extra_right_padding_when_activated ===
'''Type''': [[Types/int32|int32]]
'''Type''': [[Types/int32|int32]]


Line 47: Line 61:


'''Default''': 0
'''Default''': 0
=== dont_force_clipping_rect_for_contents ===
'''Type''': [[Types/bool|bool]]

Latest revision as of 16:12, 30 April 2020

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