diff options
| author | Franklin Sobrinho | 2015-04-08 14:02:13 -0300 |
|---|---|---|
| committer | Franklin Sobrinho | 2015-04-08 14:02:13 -0300 |
| commit | 59692d9012a320014366d3dcecac645a64a4d5f2 (patch) | |
| tree | 768cdd9944fd63e859019203f3c6edd4ba33efc6 /tools/editor/script_create_dialog.cpp | |
| parent | e18c6ef63bb57290b023fde01391f8bdcdfe5aed (diff) | |
| download | godot-59692d9012a320014366d3dcecac645a64a4d5f2.tar.gz godot-59692d9012a320014366d3dcecac645a64a4d5f2.tar.zst godot-59692d9012a320014366d3dcecac645a64a4d5f2.zip | |
Changed popup_centered by popup_centered_minsize in editor dialogs
Diffstat (limited to 'tools/editor/script_create_dialog.cpp')
| -rw-r--r-- | tools/editor/script_create_dialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/editor/script_create_dialog.cpp b/tools/editor/script_create_dialog.cpp index 89c0bd6ab..886ee31bc 100644 --- a/tools/editor/script_create_dialog.cpp +++ b/tools/editor/script_create_dialog.cpp @@ -99,12 +99,12 @@ void ScriptCreateDialog::ok_pressed() { if (class_name->is_editable() && !_validate(class_name->get_text())) { alert->set_text("Class Name is Invalid!"); - alert->popup_centered(Size2(200,60)); + alert->popup_centered_minsize(); return; } if (!_validate(parent_name->get_text())) { alert->set_text("Parent Class Name is Invalid!"); - alert->popup_centered(Size2(200,60)); + alert->popup_centered_minsize(); return; @@ -134,7 +134,7 @@ void ScriptCreateDialog::ok_pressed() { if (!path_valid) { alert->set_text("Path is Invalid!"); - alert->popup_centered(Size2(200,60)); + alert->popup_centered_minsize(); return; } @@ -142,7 +142,7 @@ void ScriptCreateDialog::ok_pressed() { if (err!=OK) { alert->set_text("Could not create script in filesystem: "+String("")); - alert->popup_centered(Size2(200,60)); + alert->popup_centered_minsize(); return; } scr->set_path(lpath); |
