fixed wrong placement of AcceptDialog Buttons issue-6143

(cherry picked from commit dd9189aac4)
This commit is contained in:
bebae 2016-09-07 20:26:03 +02:00 committed by Rémi Verschelde
parent a1df4f138c
commit 2e6ce4b362

View file

@ -399,8 +399,6 @@ AcceptDialog::AcceptDialog() {
add_child(label); add_child(label);
hbc = memnew( HBoxContainer ); hbc = memnew( HBoxContainer );
hbc->set_area_as_parent_rect(margin);
hbc->set_anchor_and_margin(MARGIN_TOP,ANCHOR_END,button_margin);
add_child(hbc); add_child(hbc);
hbc->add_spacer(); hbc->add_spacer();