Merge pull request #6423 from bebae/issue-6143
fixed wrong placement of AcceptDialog Buttons issue-6143
This commit is contained in:
commit
c73bef1562
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue