瀏覽代碼

Merge pull request #11932 from DmitryKrutskikh/correct-project-icon-align

Fix project icon align (2.1).
Rémi Verschelde 8 年之前
父節點
當前提交
8a57fe819d
共有 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);