Merge pull request #8238 from volzhs/scenetree-button-margin

Make buttons closer in Scene tree
This commit is contained in:
Rémi Verschelde 2017-04-03 09:51:26 +02:00 committed by GitHub
commit dd35caca05

View file

@ -1113,6 +1113,7 @@ SceneTreeEditor::SceneTreeEditor(bool p_label, bool p_can_rename, bool p_can_ope
tree->set_anchor(MARGIN_BOTTOM, ANCHOR_END);
tree->set_begin(Point2(0, p_label ? 18 : 0));
tree->set_end(Point2(0, 0));
tree->add_constant_override("button_margin", 0);
add_child(tree);