diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-05-01 12:00:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-01 12:00:07 +0200 |
commit | 951f1a707bb11ed2abc3c3202d10ab4858d18a16 (patch) | |
tree | 0490575d706bb91a8936260a1ba6a3f30ee0678a | |
parent | 92530f634fd84da60f4da2b044560ba544647d32 (diff) | |
parent | c2a974f04531c1da5fae03db51342265e71cb59d (diff) |
Merge pull request #60683 from timothyqiu/why-the-long-face
Keep logo aspect ratio in About dialog
-rw-r--r-- | editor/editor_about.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_about.cpp b/editor/editor_about.cpp index 877af41160..cd5a4f16e4 100644 --- a/editor/editor_about.cpp +++ b/editor/editor_about.cpp @@ -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); |