You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
fixed wrong placement of AcceptDialog Buttons issue-6143
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user