Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a container!
This commit is contained in:
parent
a503f8aadc
commit
48097f6df3
48 changed files with 92 additions and 101 deletions
|
|
@ -649,7 +649,7 @@ CreateDialog::CreateDialog() {
|
|||
HSplitContainer *hbc = memnew( HSplitContainer );
|
||||
|
||||
add_child(hbc);
|
||||
set_child_rect(hbc);
|
||||
|
||||
|
||||
VBoxContainer *lvbc = memnew( VBoxContainer);
|
||||
hbc->add_child(lvbc);
|
||||
|
|
@ -932,7 +932,7 @@ CreateDialog::CreateDialog() {
|
|||
|
||||
VBoxContainer *vbc = memnew( VBoxContainer );
|
||||
add_child(vbc);
|
||||
set_child_rect(vbc);
|
||||
|
||||
|
||||
get_ok()->set_text("Create");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue