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

Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default.

This commit is contained in:
Pāvels Nadtočajevs
2025-04-22 11:57:16 +03:00
parent 1696ab0cb6
commit 5b49fd4207
84 changed files with 159 additions and 14 deletions

View File

@@ -667,6 +667,7 @@ DependencyRemoveDialog::DependencyRemoveDialog() {
add_child(vb);
text = memnew(Label);
text->set_focus_mode(Control::FOCUS_ACCESSIBILITY);
vb->add_child(text);
Label *files_to_delete_label = memnew(Label);
@@ -757,6 +758,7 @@ DependencyErrorDialog::DependencyErrorDialog() {
set_cancel_button_text(TTR("Close"));
text = memnew(Label);
text->set_focus_mode(Control::FOCUS_ACCESSIBILITY);
vb->add_child(text);
text->set_text(TTR("Which action should be taken?"));