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

@@ -463,6 +463,7 @@ AcceptDialog::AcceptDialog() {
buttons_hbox = memnew(HBoxContainer);
message_label = memnew(Label);
message_label->set_focus_mode(Control::FOCUS_ACCESSIBILITY);
message_label->set_anchor(SIDE_RIGHT, Control::ANCHOR_END);
message_label->set_anchor(SIDE_BOTTOM, Control::ANCHOR_END);
add_child(message_label, false, INTERNAL_MODE_FRONT);