summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2016-09-07 23:47:48 -0300
committerGitHub <noreply@github.com>2016-09-07 23:47:48 -0300
commitc73bef156276ed7168c0559bc8cbf4560848ec94 (patch)
treefaf98dd97b9854fc6b6b10156b71b6ea092b2a1a
parent462c171c65ed12b8b483e3021f91754f559c9e94 (diff)
parentdd9189aac46c7f7a7624101a72d90c08dfa2e0c7 (diff)
Merge pull request #6423 from bebae/issue-6143
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();