From 59692d9012a320014366d3dcecac645a64a4d5f2 Mon Sep 17 00:00:00 2001 From: Franklin Sobrinho Date: Wed, 8 Apr 2015 14:02:13 -0300 Subject: Changed popup_centered by popup_centered_minsize in editor dialogs --- tools/editor/plugins/sample_library_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/editor/plugins/sample_library_editor_plugin.cpp') diff --git a/tools/editor/plugins/sample_library_editor_plugin.cpp b/tools/editor/plugins/sample_library_editor_plugin.cpp index 96d72595a..aab371dd2 100644 --- a/tools/editor/plugins/sample_library_editor_plugin.cpp +++ b/tools/editor/plugins/sample_library_editor_plugin.cpp @@ -93,7 +93,7 @@ void SampleLibraryEditor::_file_load_request(const DVector& p_path) { dialog->set_title("Error!"); //dialog->get_cancel()->set_text("Close"); dialog->get_ok()->set_text("Close"); - dialog->popup_centered(Size2(300,60)); + dialog->popup_centered_minsize(); return; ///beh should show an error i guess } String basename = path.get_file().basename(); -- cgit v1.3.1