You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Rename hint_tooltip to tooltip_text & setget
`hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
This commit is contained in:
@@ -316,13 +316,13 @@ OpenXRActionMapEditor::OpenXRActionMapEditor() {
|
||||
|
||||
add_action_set = memnew(Button);
|
||||
add_action_set->set_text(TTR("Add Action Set"));
|
||||
add_action_set->set_tooltip(TTR("Add an action set."));
|
||||
add_action_set->set_tooltip_text(TTR("Add an action set."));
|
||||
add_action_set->connect("pressed", callable_mp(this, &OpenXRActionMapEditor::_on_add_action_set));
|
||||
top_hb->add_child(add_action_set);
|
||||
|
||||
add_interaction_profile = memnew(Button);
|
||||
add_interaction_profile->set_text(TTR("Add profile"));
|
||||
add_interaction_profile->set_tooltip(TTR("Add an interaction profile."));
|
||||
add_interaction_profile->set_tooltip_text(TTR("Add an interaction profile."));
|
||||
add_interaction_profile->connect("pressed", callable_mp(this, &OpenXRActionMapEditor::_on_add_interaction_profile));
|
||||
top_hb->add_child(add_interaction_profile);
|
||||
|
||||
@@ -331,13 +331,13 @@ OpenXRActionMapEditor::OpenXRActionMapEditor() {
|
||||
|
||||
save_as = memnew(Button);
|
||||
save_as->set_text(TTR("Save"));
|
||||
save_as->set_tooltip(TTR("Save this OpenXR action map."));
|
||||
save_as->set_tooltip_text(TTR("Save this OpenXR action map."));
|
||||
save_as->connect("pressed", callable_mp(this, &OpenXRActionMapEditor::_on_save_action_map));
|
||||
top_hb->add_child(save_as);
|
||||
|
||||
_default = memnew(Button);
|
||||
_default->set_text(TTR("Reset to Default"));
|
||||
_default->set_tooltip(TTR("Reset to default OpenXR action map."));
|
||||
_default->set_tooltip_text(TTR("Reset to default OpenXR action map."));
|
||||
_default->connect("pressed", callable_mp(this, &OpenXRActionMapEditor::_on_reset_to_default_layout));
|
||||
top_hb->add_child(_default);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user