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/polygon_2d_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/editor/plugins/polygon_2d_editor_plugin.cpp') diff --git a/tools/editor/plugins/polygon_2d_editor_plugin.cpp b/tools/editor/plugins/polygon_2d_editor_plugin.cpp index 3858bf2c6..d4b307f66 100644 --- a/tools/editor/plugins/polygon_2d_editor_plugin.cpp +++ b/tools/editor/plugins/polygon_2d_editor_plugin.cpp @@ -90,7 +90,7 @@ void Polygon2DEditor::_menu_option(int p_option) { if (node->get_texture().is_null()) { error->set_text("No texture in this polygon.\nSet a texture to be able to edit UV."); - error->popup_centered_minsize(Size2(300,70)); + error->popup_centered_minsize(); return; } -- cgit v1.3.1