diff options
author | Yuri Sizov <11782833+YuriSizov@users.noreply.github.com> | 2023-04-07 13:24:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 13:24:01 +0200 |
commit | a13635cdf888c005631b3f8b915005e7855e66af (patch) | |
tree | 07cb09470ae1d741ee2ffc2a9bfe47d654916cd1 /doc | |
parent | 920e8067f7ce0938d9ba76bd5300a5c77d1e7f37 (diff) | |
parent | 498d53857891d33dc5c3a5a739d89f69e2a8be56 (diff) | |
download | redot-engine-a13635cdf888c005631b3f8b915005e7855e66af.tar.gz |
Merge pull request #70901 from timothyqiu/tree-scroll-offset
Add scrollbar offset theme constants to Tree
Diffstat (limited to 'doc')
-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> |