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...")
 
(Updated styling of prototype doc migration note)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="stub"><p>'''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 https://lua-api.factorio.com/latest/types/ScrollPaneStyleSpecification.html]
</p><p>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 [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
Extension of [[Types/StyleSpecification]].<br>
Extension of [[Types/StyleSpecification]].<br>
Style specification type: '''scroll_pane_style'''
Style specification type: '''scroll_pane_style'''
Line 21: Line 27:


=== 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 67:


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

Latest revision as of 10:42, 21 September 2023

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