summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbebae <baeumler.benjamin@googlemail.com>2016-09-07 20:26:03 +0200
committerbebae <baeumler.benjamin@googlemail.com>2016-09-07 20:49:53 +0200
commitdd9189aac46c7f7a7624101a72d90c08dfa2e0c7 (patch)
tree17ddb221ccc1e5bd61ddef33eb415979aba716d6
parentb1ce9821e7ae78c31222d65ceb3ae681ec5bd9ca (diff)
fixed wrong placement of AcceptDialog Buttons issue-6143
-rw-r--r--scene/gui/dialogs.cpp2
1 files changed, 0 insertions, 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();