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
|
|
@ -64,6 +64,7 @@ void EditorValidationPanel::add_line(int p_id, const String &p_valid_message) {
|
|||
ERR_FAIL_COND(valid_messages.has(p_id));
|
||||
|
||||
Label *label = memnew(Label);
|
||||
label->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
message_container->add_child(label);
|
||||
label->set_custom_minimum_size(Size2(200 * EDSCALE, 0));
|
||||
label->set_vertical_alignment(VERTICAL_ALIGNMENT_CENTER);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue