浏览代码

Fix project icon align.
Now icon vertically centered

Dmitry Krutskikh 8 年之前
父节点
当前提交
e6b7e055a0
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      editor/project_manager.cpp

+ 1 - 0
editor/project_manager.cpp

@@ -855,6 +855,7 @@ void ProjectManager::_load_recent_projects() {
 
 		TextureFrame *tf = memnew(TextureFrame);
 		tf->set_texture(icon);
+		tf->set_v_size_flags(SIZE_EXPAND);
 		hb->add_child(tf);
 
 		VBoxContainer *vb = memnew(VBoxContainer);