mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user