Allow to add padding to ScrollBars

This commit is contained in:
Michael Alexsander 2025-11-05 12:28:49 -03:00
parent 2cc031f3a3
commit 23a4cffe2f
No known key found for this signature in database
GPG key ID: A9C91EE110F4EABA
4 changed files with 61 additions and 10 deletions

View file

@ -8,4 +8,14 @@
</description>
<tutorials>
</tutorials>
<theme_items>
<theme_item name="padding_bottom" data_type="constant" type="int" default="0">
Padding between the bottom of the [theme_item ScrollBar.scroll] element and the [theme_item ScrollBar.grabber].
[b]Note:[/b] To apply horizontal padding, modify the left/right content margins of [theme_item ScrollBar.scroll] instead.
</theme_item>
<theme_item name="padding_top" data_type="constant" type="int" default="0">
Padding between the top of the [theme_item ScrollBar.scroll] element and the [theme_item ScrollBar.grabber].
[b]Note:[/b] To apply horizontal padding, modify the left/right content margins of [theme_item ScrollBar.scroll] instead.
</theme_item>
</theme_items>
</class>