diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2016-10-03 11:44:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-03 11:44:32 +0200 |
commit | 03ee749989d2681d49906b16b8a5591b46d8059b (patch) | |
tree | c8adf99b1ea7746856fd4eb97a9c47ccfa07f324 /scene/resources | |
parent | 9c4c1733b4efd007f6bc29966f80dc5a5a38ef0a (diff) | |
parent | 9e5aaa27bc48bcba7392febeb583b4959a826c9e (diff) |
Merge pull request #6529 from pkowal1982/scrolltree
Add scrolling to Tree control in Drag and Drop mode
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index dea612735c..0740b591c4 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -714,6 +714,8 @@ void fill_default_theme(Ref<Theme>& t, const Ref<Font> & default_font, const Ref t->set_constant("item_margin","Tree",12 *scale); t->set_constant("button_margin","Tree",4 *scale); t->set_constant("draw_relationship_lines", "Tree", 0); + t->set_constant("scroll_border", "Tree", 4); + t->set_constant("scroll_speed", "Tree", 12); // ItemList |