mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #111975 from sockeye-d/scrollcontainer-separation
Add `h`/`v_separation` theme properties to ScrollContainer
This commit is contained in:
commit
decb55916a
3 changed files with 14 additions and 2 deletions
|
|
@ -110,6 +110,12 @@
|
|||
</constant>
|
||||
</constants>
|
||||
<theme_items>
|
||||
<theme_item name="scrollbar_h_separation" data_type="constant" type="int" default="0">
|
||||
The space between the ScrollContainer's vertical scroll bar and its content, in pixels. No space will be added when the content's minimum size is larger than the ScrollContainer's size.
|
||||
</theme_item>
|
||||
<theme_item name="scrollbar_v_separation" data_type="constant" type="int" default="0">
|
||||
The space between the ScrollContainer's horizontal scroll bar and its content, in pixels. No space will be added when the content's minimum size is larger than the ScrollContainer's size.
|
||||
</theme_item>
|
||||
<theme_item name="focus" data_type="style" type="StyleBox">
|
||||
The focus border [StyleBox] of the [ScrollContainer]. Only used if [member draw_focus_border] is [code]true[/code].
|
||||
</theme_item>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue