diff options
| author | Pawel Kowal | 2016-09-17 21:29:55 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-10-09 17:17:04 +0200 |
| commit | 4ca83c635ffa8f868721affb301a8c8e91f7c5d0 (patch) | |
| tree | b618bf36fd426533baaece718af2e37c421e2f15 /scene/resources/default_theme/default_theme.cpp | |
| parent | e788ffff65ca65b6fd8dd84b3822d74e330d68c7 (diff) | |
| download | godot-4ca83c635ffa8f868721affb301a8c8e91f7c5d0.tar.gz godot-4ca83c635ffa8f868721affb301a8c8e91f7c5d0.tar.zst godot-4ca83c635ffa8f868721affb301a8c8e91f7c5d0.zip | |
Add scrolling to Tree control in Drag and Drop mode
(cherry picked from commit 9e5aaa27bc48bcba7392febeb583b4959a826c9e)
Diffstat (limited to '')
| -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 499cf0a16..631896378 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -687,6 +687,8 @@ void fill_default_theme(Ref<Theme>& t,const Ref<Font> & default_font,const Ref<F 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 |
