1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #64885 from Mickeon/rename-tooltip-hint

Rename `hint_tooltip` to `tooltip_text` & setter getter
This commit is contained in:
Rémi Verschelde
2022-08-28 17:43:01 +02:00
committed by GitHub
85 changed files with 468 additions and 463 deletions

View File

@@ -95,7 +95,7 @@ private:
toggle_button->set_toggle_mode(true);
toggle_button->set_pressed(true);
toggle_button->set_text(itos(message_count));
toggle_button->set_tooltip(TTR(p_tooltip));
toggle_button->set_tooltip_text(TTR(p_tooltip));
// Don't tint the icon even when in "pressed" state.
toggle_button->add_theme_color_override("icon_color_pressed", Color(1, 1, 1, 1));
toggle_button->set_focus_mode(FOCUS_NONE);