aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-09-27 22:15:00 +0200
committerGitHub2017-09-27 22:15:00 +0200
commitda144fed4c49133a93b3b83cfc665352c0af351a (patch)
treee3ee2e13f9c0664e2c9fa8474fbf7ae9a1fbb5c1 /editor/editor_node.cpp
parent78423320d78235a5b2fde05e7816f79de729f317 (diff)
parentbd8a5fba30510558ce34f6a863567d668524f5b3 (diff)
downloadgodot-da144fed4c49133a93b3b83cfc665352c0af351a.tar.gz
godot-da144fed4c49133a93b3b83cfc665352c0af351a.tar.zst
godot-da144fed4c49133a93b3b83cfc665352c0af351a.zip
Merge pull request #11617 from groud/fix_bad_display
Fixes bad display
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 3069ba97f..21520875c 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -5083,9 +5083,6 @@ EditorNode::EditorNode() {
play_cc = memnew(CenterContainer);
play_cc->set_mouse_filter(Control::MOUSE_FILTER_IGNORE);
menu_hb->add_child(play_cc);
- play_cc->set_anchors_and_margins_preset(Control::PRESET_WIDE);
- play_cc->set_anchor_and_margin(MARGIN_BOTTOM, Control::ANCHOR_BEGIN, 10);
- play_cc->set_margin(MARGIN_TOP, 5);
play_button_panel = memnew(PanelContainer);
// play_button_panel->add_style_override("panel", gui_base->get_stylebox("PlayButtonPanel", "EditorStyles"));