mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
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
|
|
@ -643,6 +643,7 @@ InputEventConfigurationDialog::InputEventConfigurationDialog() {
|
|||
add_child(main_vbox);
|
||||
|
||||
event_as_text = memnew(Label);
|
||||
event_as_text->set_focus_mode(Control::FOCUS_ACCESSIBILITY);
|
||||
event_as_text->set_custom_minimum_size(Size2(500, 0) * EDSCALE);
|
||||
event_as_text->set_autowrap_mode(TextServer::AUTOWRAP_WORD_SMART);
|
||||
event_as_text->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue