Merge pull request #111975 from sockeye-d/scrollcontainer-separation

Add `h`/`v_separation` theme properties to ScrollContainer
This commit is contained in:
Rémi Verschelde 2025-11-01 19:05:33 +01:00
commit decb55916a
No known key found for this signature in database
GPG key ID: C3336907360768E1
3 changed files with 14 additions and 2 deletions

View file

@ -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>