소스 검색

fixed wrong placement of AcceptDialog Buttons issue-6143

bebae 9 년 전
부모
커밋
dd9189aac4
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  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();