Merge pull request #60683 from timothyqiu/why-the-long-face

Keep logo aspect ratio in About dialog
This commit is contained in:
Rémi Verschelde 2022-05-01 12:00:07 +02:00 committed by GitHub
commit 951f1a707b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,6 +129,7 @@ EditorAbout::EditorAbout() {
vbc->add_child(hbc);
_logo = memnew(TextureRect);
_logo->set_stretch_mode(TextureRect::STRETCH_KEEP_ASPECT_CENTERED);
hbc->add_child(_logo);
VBoxContainer *version_info_vbc = memnew(VBoxContainer);