From dd9189aac46c7f7a7624101a72d90c08dfa2e0c7 Mon Sep 17 00:00:00 2001 From: bebae Date: Wed, 7 Sep 2016 20:26:03 +0200 Subject: fixed wrong placement of AcceptDialog Buttons issue-6143 --- scene/gui/dialogs.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/scene/gui/dialogs.cpp b/scene/gui/dialogs.cpp index 4dbc106834..93e46da82b 100644 --- a/scene/gui/dialogs.cpp +++ b/scene/gui/dialogs.cpp @@ -399,8 +399,6 @@ AcceptDialog::AcceptDialog() { add_child(label); hbc = memnew( HBoxContainer ); - hbc->set_area_as_parent_rect(margin); - hbc->set_anchor_and_margin(MARGIN_TOP,ANCHOR_END,button_margin); add_child(hbc); hbc->add_spacer(); -- cgit v1.2.3