Browse Source

Fix project icon align.
Now icon vertically centered

Dmitry Krutskikh 8 years ago
parent
commit
e6b7e055a0
1 changed files with 1 additions and 0 deletions
  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);
 		TextureFrame *tf = memnew(TextureFrame);
 		tf->set_texture(icon);
 		tf->set_texture(icon);
+		tf->set_v_size_flags(SIZE_EXPAND);
 		hb->add_child(tf);
 		hb->add_child(tf);
 
 
 		VBoxContainer *vb = memnew(VBoxContainer);
 		VBoxContainer *vb = memnew(VBoxContainer);