Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs).

This commit is contained in:
Stijn Hinlopen
2020-07-11 18:45:19 +02:00
parent 2921827387
commit 526e060b73
45 changed files with 92 additions and 85 deletions

View File

@ -75,14 +75,8 @@ ReparentDialog::ReparentDialog() {
tree = memnew(SceneTreeEditor(false));
tree->set_show_enabled_subscene(true);
vbc->add_margin_child(TTR("Reparent Location (Select new Parent):"), tree, true);
tree->get_scene_tree()->connect("item_activated", callable_mp(this, &ReparentDialog::_reparent));
//Label *label = memnew( Label );
//label->set_position( Point2( 15,8) );
//label->set_text("Reparent Location (Select new Parent):");
vbc->add_margin_child(TTR("Select new parent:"), tree, true);
keep_transform = memnew(CheckBox);
keep_transform->set_text(TTR("Keep Global Transform"));