Browse Source

fixed wrong placement of AcceptDialog Buttons issue-6143

bebae 9 years ago
parent
commit
dd9189aac4
1 changed files with 0 additions and 2 deletions
  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();