diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2023-01-04 10:59:34 +0800 |
---|---|---|
committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2023-04-06 15:04:28 +0800 |
commit | 498d53857891d33dc5c3a5a739d89f69e2a8be56 (patch) | |
tree | 49ebdeef22e33e884bc5ac8363a76173b7271e95 /doc/classes/Tree.xml | |
parent | 49a196277f86977d08cc10b6bb878427ae54a964 (diff) | |
download | redot-engine-498d53857891d33dc5c3a5a739d89f69e2a8be56.tar.gz |
Add scrollbar offset theme constants to Tree
Diffstat (limited to 'doc/classes/Tree.xml')
-rw-r--r-- | doc/classes/Tree.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/classes/Tree.xml b/doc/classes/Tree.xml index 9c60ba1b37..1e4282cd0b 100644 --- a/doc/classes/Tree.xml +++ b/doc/classes/Tree.xml @@ -558,6 +558,24 @@ <theme_item name="scroll_speed" data_type="constant" type="int" default="12"> The speed of border scrolling. </theme_item> + <theme_item name="scrollbar_h_separation" data_type="constant" type="int" default="4"> + The horizontal separation of tree content and scrollbar. + </theme_item> + <theme_item name="scrollbar_margin_bottom" data_type="constant" type="int" default="-1"> + The bottom margin of the scrollbars. When negative, uses [theme_item panel] bottom margin. + </theme_item> + <theme_item name="scrollbar_margin_left" data_type="constant" type="int" default="-1"> + The left margin of the horizontal scrollbar. When negative, uses [theme_item panel] left margin. + </theme_item> + <theme_item name="scrollbar_margin_right" data_type="constant" type="int" default="-1"> + The right margin of the scrollbars. When negative, uses [theme_item panel] right margin. + </theme_item> + <theme_item name="scrollbar_margin_top" data_type="constant" type="int" default="-1"> + The right margin of the vertical scrollbar. When negative, uses [theme_item panel] top margin. + </theme_item> + <theme_item name="scrollbar_v_separation" data_type="constant" type="int" default="4"> + The vertical separation of tree content and scrollbar. + </theme_item> <theme_item name="v_separation" data_type="constant" type="int" default="4"> The vertical padding inside each item, i.e. the distance between the item's content and top/bottom border. </theme_item> |