diff options
author | George Marques <george@gmarqu.es> | 2016-09-07 23:47:48 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-07 23:47:48 -0300 |
commit | c73bef156276ed7168c0559bc8cbf4560848ec94 (patch) | |
tree | faf98dd97b9854fc6b6b10156b71b6ea092b2a1a | |
parent | 462c171c65ed12b8b483e3021f91754f559c9e94 (diff) | |
parent | dd9189aac46c7f7a7624101a72d90c08dfa2e0c7 (diff) |
Merge pull request #6423 from bebae/issue-6143
fixed wrong placement of AcceptDialog Buttons issue-6143
-rw-r--r-- | scene/gui/dialogs.cpp | 2 |
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(); |