aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/sprite_frames_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2015-04-08 20:34:06 -0300
committerJuan Linietsky2015-04-08 20:34:06 -0300
commitdd12bd406e0c0b0c18047dcaf6a9e5bac95f1ee6 (patch)
tree768cdd9944fd63e859019203f3c6edd4ba33efc6 /tools/editor/plugins/sprite_frames_editor_plugin.cpp
parente18c6ef63bb57290b023fde01391f8bdcdfe5aed (diff)
parent59692d9012a320014366d3dcecac645a64a4d5f2 (diff)
downloadgodot-dd12bd406e0c0b0c18047dcaf6a9e5bac95f1ee6.tar.gz
godot-dd12bd406e0c0b0c18047dcaf6a9e5bac95f1ee6.tar.zst
godot-dd12bd406e0c0b0c18047dcaf6a9e5bac95f1ee6.zip
Merge pull request #1654 from TheHX/fix_editor_dialog
Changed popup_centered by popup_centered_minsize in editor dialogs
Diffstat (limited to 'tools/editor/plugins/sprite_frames_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/sprite_frames_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/plugins/sprite_frames_editor_plugin.cpp b/tools/editor/plugins/sprite_frames_editor_plugin.cpp
index 9a9e8ee61..e49999e71 100644
--- a/tools/editor/plugins/sprite_frames_editor_plugin.cpp
+++ b/tools/editor/plugins/sprite_frames_editor_plugin.cpp
@@ -76,7 +76,7 @@ void SpriteFramesEditor::_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
}
@@ -188,7 +188,7 @@ void SpriteFramesEditor::_paste_pressed() {
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
}