summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-04-12 16:34:08 +0200
committerGitHub <noreply@github.com>2022-04-12 16:34:08 +0200
commitc896ba8c8ca61c4c20c325944222c8c766c707d4 (patch)
tree2a8a36c9e774449b7210b8021c0012e19ab51752 /editor/plugins
parent43f94c95aa88d5fc0180bb4ee5c8ce44d27dbc0f (diff)
parentd879d6016acc584aea877342f67323af5fdb344d (diff)
Merge pull request #60163 from fire-forge/texture-size-x
Diffstat (limited to 'editor/plugins')
-rw-r--r--editor/plugins/texture_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/texture_editor_plugin.cpp b/editor/plugins/texture_editor_plugin.cpp
index a7c06ada5c..15f03fd46d 100644
--- a/editor/plugins/texture_editor_plugin.cpp
+++ b/editor/plugins/texture_editor_plugin.cpp
@@ -70,7 +70,7 @@ void TexturePreview::_update_metadata_label_text() {
format = texture->get_class();
}
- metadata_label->set_text(itos(texture->get_width()) + "x" + itos(texture->get_height()) + " " + format);
+ metadata_label->set_text(vformat(String::utf8("%s×%s %s"), itos(texture->get_width()), itos(texture->get_height()), format));
}
TexturePreview::TexturePreview(Ref<Texture2D> p_texture, bool p_show_metadata) {