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();