aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/project_manager.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2015-01-03 17:24:16 -0300
committerJuan Linietsky2015-01-03 17:24:16 -0300
commitdc7ac86b798f40e1472871391af49a562879eadc (patch)
tree0cae39a004458c5a62cc14888a35f53e88aa42a1 /tools/editor/project_manager.cpp
parent0e1d70f637c31aa107f109a2e21ec9cd5e82d047 (diff)
downloadgodot-dc7ac86b798f40e1472871391af49a562879eadc.tar.gz
godot-dc7ac86b798f40e1472871391af49a562879eadc.tar.zst
godot-dc7ac86b798f40e1472871391af49a562879eadc.zip
-Completely removed EmptyControl (but added fallback), closes #1017
Diffstat (limited to 'tools/editor/project_manager.cpp')
-rw-r--r--tools/editor/project_manager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/project_manager.cpp b/tools/editor/project_manager.cpp
index 4eadd980f..cf94758ad 100644
--- a/tools/editor/project_manager.cpp
+++ b/tools/editor/project_manager.cpp
@@ -39,7 +39,7 @@
#include "scene/gui/line_edit.h"
#include "scene/gui/panel_container.h"
-#include "scene/gui/empty_control.h"
+
#include "scene/gui/texture_frame.h"
#include "scene/gui/margin_container.h"
#include "io/resource_saver.h"
@@ -580,8 +580,8 @@ void ProjectManager::_load_recent_projects() {
VBoxContainer *vb = memnew(VBoxContainer);
hb->add_child(vb);
- EmptyControl *ec = memnew( EmptyControl );
- ec->set_minsize(Size2(0,1));
+ Control *ec = memnew( Control );
+ ec->set_custom_minimum_size(Size2(0,1));
vb->add_child(ec);
Label *title = memnew( Label(project_name) );
title->add_font_override("font",get_font("large","Fonts"));