diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-02-06 08:47:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 08:47:40 +0100 |
commit | 27926053f7943b9de91cd738a28879a142b2df83 (patch) | |
tree | b07ecf6562c461cb37b577534c39968ee7b1d8fb /editor/project_manager.cpp | |
parent | c358399f81bedd0c4a4a765b56a7c40a57c4f5f3 (diff) | |
parent | c1011178c03354dd01972f4540bc07281591ff39 (diff) |
Merge pull request #35939 from timothyqiu/project-icon
Centers project icon vertically in project list
Diffstat (limited to 'editor/project_manager.cpp')
-rw-r--r-- | editor/project_manager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index 30e31cb530..1d2e57aefa 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -1316,6 +1316,7 @@ void ProjectList::create_project_item_control(int p_index) { // The project icon may not be loaded by the time the control is displayed, // so use a loading placeholder. tf->set_texture(get_icon("ProjectIconLoading", "EditorIcons")); + tf->set_v_size_flags(SIZE_SHRINK_CENTER); if (item.missing) { tf->set_modulate(Color(1, 1, 1, 0.5)); } |