mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user