Add scrolling to Tree control in Drag and Drop mode

This commit is contained in:
Pawel Kowal
2016-09-17 21:29:55 +02:00
parent c05ff0577f
commit 9e5aaa27bc
3 changed files with 36 additions and 0 deletions

View File

@ -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