You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Merge pull request #64885 from Mickeon/rename-tooltip-hint
Rename `hint_tooltip` to `tooltip_text` & setter getter
This commit is contained in:
@@ -731,9 +731,9 @@ InputEventConfigurationDialog::InputEventConfigurationDialog() {
|
||||
store_command_checkbox->set_pressed(true);
|
||||
store_command_checkbox->set_text(TTR("Store Command"));
|
||||
#ifdef APPLE_STYLE_KEYS
|
||||
store_command_checkbox->set_tooltip(TTR("Toggles between serializing 'command' and 'meta'. Used for compatibility with Windows/Linux style keyboard."));
|
||||
store_command_checkbox->set_tooltip_text(TTR("Toggles between serializing 'command' and 'meta'. Used for compatibility with Windows/Linux style keyboard."));
|
||||
#else
|
||||
store_command_checkbox->set_tooltip(TTR("Toggles between serializing 'command' and 'control'. Used for compatibility with Apple Style keyboards."));
|
||||
store_command_checkbox->set_tooltip_text(TTR("Toggles between serializing 'command' and 'control'. Used for compatibility with Apple Style keyboards."));
|
||||
#endif
|
||||
mod_container->add_child(store_command_checkbox);
|
||||
|
||||
@@ -744,7 +744,7 @@ InputEventConfigurationDialog::InputEventConfigurationDialog() {
|
||||
|
||||
physical_key_checkbox = memnew(CheckBox);
|
||||
physical_key_checkbox->set_text(TTR("Use Physical Keycode"));
|
||||
physical_key_checkbox->set_tooltip(TTR("Stores the physical position of the key on the keyboard rather than the key's value. Used for compatibility with non-latin layouts.\nThis should generally be enabled for most game shortcuts, but not in non-game applications."));
|
||||
physical_key_checkbox->set_tooltip_text(TTR("Stores the physical position of the key on the keyboard rather than the key's value. Used for compatibility with non-latin layouts.\nThis should generally be enabled for most game shortcuts, but not in non-game applications."));
|
||||
physical_key_checkbox->connect("toggled", callable_mp(this, &InputEventConfigurationDialog::_physical_keycode_toggled));
|
||||
physical_key_checkbox->hide();
|
||||
additional_options_container->add_child(physical_key_checkbox);
|
||||
@@ -804,7 +804,7 @@ String ActionMapEditor::_check_new_action_name(const String &p_name) {
|
||||
|
||||
void ActionMapEditor::_add_edit_text_changed(const String &p_name) {
|
||||
String error = _check_new_action_name(p_name);
|
||||
add_button->set_tooltip(error);
|
||||
add_button->set_tooltip_text(error);
|
||||
add_button->set_disabled(!error.is_empty());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user