1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Changed popup_centered by popup_centered_minsize in editor dialogs

This commit is contained in:
Franklin Sobrinho
2015-04-08 14:02:13 -03:00
parent e18c6ef63b
commit 59692d9012
19 changed files with 90 additions and 90 deletions

View File

@@ -93,7 +93,7 @@ void SampleLibraryEditor::_file_load_request(const DVector<String>& 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();