From a67400aee701bd817727d3fa75566a49a04f8b1e Mon Sep 17 00:00:00 2001 From: volzhs Date: Mon, 3 Apr 2017 15:50:16 +0900 Subject: [PATCH] Make buttons closer in Scene tree (cherry picked from commit a911b1f126b60d8d119e15eade30fd40692f8ddf) --- editor/scene_tree_editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/scene_tree_editor.cpp b/editor/scene_tree_editor.cpp index 5123ae6a7bf..d862a02d315 100644 --- a/editor/scene_tree_editor.cpp +++ b/editor/scene_tree_editor.cpp @@ -1110,6 +1110,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);