diff options
author | Ryan Stein <ryan.stein@gmx.com> | 2017-12-31 19:58:17 -0500 |
---|---|---|
committer | Ryan Stein <ryan.stein@gmx.com> | 2017-12-31 19:58:17 -0500 |
commit | 67c158fe9f64f2c60f3904c0723f98ac9f76620d (patch) | |
tree | 18ebef6d3a85d99cae4147dbe2674e369038d338 | |
parent | d6a1125254787681b6373e449c93d8ce15811a69 (diff) |
Move Project Manager favorite icon back to center.
-rw-r--r-- | editor/project_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index 04e9f0adc1..2fea854282 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); |