You've already forked godot
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:
@@ -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?"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user