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
|
|
@ -890,6 +890,7 @@ EditorAutoloadSettings::EditorAutoloadSettings() {
|
|||
add_child(hbc);
|
||||
|
||||
error_message = memnew(Label);
|
||||
error_message->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
error_message->hide();
|
||||
error_message->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_RIGHT);
|
||||
error_message->add_theme_color_override(SceneStringName(font_color), EditorNode::get_singleton()->get_editor_theme()->get_color(SNAME("error_color"), EditorStringName(Editor)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue