diff options
| author | Juan Linietsky | 2017-01-10 01:49:55 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-10 01:49:55 -0300 |
| commit | 48097f6df364b040848fb8963f15738d760a72ed (patch) | |
| tree | 8816df759d41837fb333bb4a0c7515e89f00e3d0 /tools/editor/dependency_editor.cpp | |
| parent | a503f8aadcb8cbc85bde589fb25ea06e599b367b (diff) | |
| download | godot-48097f6df364b040848fb8963f15738d760a72ed.tar.gz godot-48097f6df364b040848fb8963f15738d760a72ed.tar.zst godot-48097f6df364b040848fb8963f15738d760a72ed.zip | |
Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a container!
Diffstat (limited to 'tools/editor/dependency_editor.cpp')
| -rw-r--r-- | tools/editor/dependency_editor.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/editor/dependency_editor.cpp b/tools/editor/dependency_editor.cpp index 39a7a3620..20e185104 100644 --- a/tools/editor/dependency_editor.cpp +++ b/tools/editor/dependency_editor.cpp @@ -261,7 +261,7 @@ DependencyEditor::DependencyEditor() { VBoxContainer *vb = memnew( VBoxContainer ); vb->set_name(TTR("Dependencies")); add_child(vb); - set_child_rect(vb); + tree = memnew( Tree ); tree->set_columns(2); @@ -354,7 +354,7 @@ DependencyEditorOwners::DependencyEditorOwners() { owners = memnew( ItemList ); add_child(owners); - set_child_rect(owners); + } @@ -459,7 +459,7 @@ DependencyRemoveDialog::DependencyRemoveDialog() { VBoxContainer *vb = memnew( VBoxContainer ); add_child(vb); - set_child_rect(vb); + text = memnew( Label ); vb->add_child(text); @@ -522,7 +522,7 @@ DependencyErrorDialog::DependencyErrorDialog() { VBoxContainer *vb = memnew( VBoxContainer ); add_child(vb); - set_child_rect(vb); + files = memnew( Tree ); @@ -699,7 +699,7 @@ OrphanResourcesDialog::OrphanResourcesDialog(){ VBoxContainer *vbc = memnew( VBoxContainer ); add_child(vbc); - set_child_rect(vbc); + files = memnew( Tree ); files->set_columns(2); files->set_column_titles_visible(true); |
