Fix project icon align.
Now icon vertically centered
This commit is contained in:
parent
1a934a58e4
commit
e6b7e055a0
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user