mirror of
https://github.com/godotengine/godot.git
synced 2025-11-02 06:31:13 +00:00
Some QOL and cleanup to EditorHelp's FindBar
This commit is contained in:
parent
32eafc18b4
commit
201238168c
3 changed files with 45 additions and 24 deletions
|
|
@ -797,6 +797,7 @@ FindReplaceBar::FindReplaceBar() {
|
|||
|
||||
find_prev = memnew(Button);
|
||||
find_prev->set_flat(true);
|
||||
find_prev->set_disabled(results_count < 1);
|
||||
find_prev->set_tooltip_text(TTR("Previous Match"));
|
||||
find_prev->set_accessibility_name(TTRC("Previous Match"));
|
||||
hbc_button_search->add_child(find_prev);
|
||||
|
|
@ -805,6 +806,7 @@ FindReplaceBar::FindReplaceBar() {
|
|||
|
||||
find_next = memnew(Button);
|
||||
find_next->set_flat(true);
|
||||
find_next->set_disabled(results_count < 1);
|
||||
find_next->set_tooltip_text(TTR("Next Match"));
|
||||
find_next->set_accessibility_name(TTRC("Next Match"));
|
||||
hbc_button_search->add_child(find_next);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue