Selaa lähdekoodia

fixed wrong placement of AcceptDialog Buttons issue-6143

bebae 9 vuotta sitten
vanhempi
commit
dd9189aac4
1 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0 2
      scene/gui/dialogs.cpp

+ 0 - 2
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();