Use Unicode arrow symbols throughout the editor

This does not apply to text printed to the Output panel, as the fixed-width
font may not have the glyph in its character set (or if it does, the arrow
character may be hard to read).
This commit is contained in:
Hugo Locurcio 2025-12-02 01:29:36 +01:00
parent f5918a9d35
commit db920eb7f0
No known key found for this signature in database
GPG key ID: 46ACE49F61685096
8 changed files with 16 additions and 16 deletions

View file

@ -229,7 +229,7 @@ PluginConfigDialog::PluginConfigDialog() {
plugin_edit_hidden_controls.push_back(subfolder_lb);
subfolder_edit = memnew(LineEdit);
subfolder_edit->set_placeholder("\"my_plugin\" -> res://addons/my_plugin");
subfolder_edit->set_placeholder(U"\"my_plugin\" res://addons/my_plugin");
subfolder_edit->set_tooltip_text(TTR("Optional. The folder name should generally use `snake_case` naming (avoid spaces and special characters).\nIf left empty, the folder will be named after the plugin name converted to `snake_case`."));
subfolder_edit->set_accessibility_name(TTRC("Subfolder:"));
subfolder_edit->set_h_size_flags(Control::SIZE_EXPAND_FILL);
@ -305,7 +305,7 @@ PluginConfigDialog::PluginConfigDialog() {
script_edit = memnew(LineEdit);
script_edit->set_tooltip_text(TTR("Optional. The name of the script file. If left empty, will default to the subfolder name."));
script_edit->set_placeholder("\"plugin.gd\" -> res://addons/my_plugin/plugin.gd");
script_edit->set_placeholder(U"\"plugin.gd\" res://addons/my_plugin/plugin.gd");
script_edit->set_accessibility_name(TTRC("Script Name:"));
script_edit->set_h_size_flags(Control::SIZE_EXPAND_FILL);
grid->add_child(script_edit);