Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default.
This commit is contained in:
parent
1696ab0cb6
commit
5b49fd4207
84 changed files with 159 additions and 14 deletions
|
|
@ -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?"));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue