You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a container!
This commit is contained in:
@@ -243,7 +243,7 @@ EditorDirDialog::EditorDirDialog() {
|
||||
|
||||
tree = memnew( Tree );
|
||||
add_child(tree);
|
||||
set_child_rect(tree);
|
||||
|
||||
tree->connect("item_activated",this,"_ok");
|
||||
|
||||
makedir = add_button(TTR("Create Folder"),OS::get_singleton()->get_swap_ok_cancel()?true:false,"makedir");
|
||||
@@ -255,7 +255,7 @@ EditorDirDialog::EditorDirDialog() {
|
||||
|
||||
VBoxContainer *makevb= memnew( VBoxContainer );
|
||||
makedialog->add_child(makevb);
|
||||
makedialog->set_child_rect(makevb);
|
||||
// makedialog->set_child_rect(makevb);
|
||||
|
||||
makedirname = memnew( LineEdit );
|
||||
makevb->add_margin_child(TTR("Name:"),makedirname);
|
||||
|
||||
Reference in New Issue
Block a user