From 67c158fe9f64f2c60f3904c0723f98ac9f76620d Mon Sep 17 00:00:00 2001 From: Ryan Stein Date: Sun, 31 Dec 2017 19:58:17 -0500 Subject: [PATCH] Move Project Manager favorite icon back to center. --- editor/project_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index 04e9f0adc17..2fea8542827 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -1039,9 +1039,9 @@ void ProjectManager::_load_recent_projects() { favorite->set_normal_texture(favorite_icon); if (!is_favorite) favorite->set_modulate(Color(1, 1, 1, 0.2)); - favorite->set_v_size_flags(SIZE_EXPAND); favorite->connect("pressed", this, "_favorite_pressed", varray(hb)); favorite_box->add_child(favorite); + favorite_box->set_alignment(BoxContainer::ALIGN_CENTER); hb->add_child(favorite_box); TextureRect *tf = memnew(TextureRect);