mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Selectively apply FOCUS_ACCESSIBILITY
to the Label
s instead of setting it by default.
This commit is contained in:
parent
1696ab0cb6
commit
5b49fd4207
84 changed files with 159 additions and 14 deletions
|
@ -2045,6 +2045,7 @@ SpriteFramesEditor::SpriteFramesEditor() {
|
|||
delete_anim->set_shortcut(ED_SHORTCUT("sprite_frames/delete_animation", TTRC("Delete Animation"), Key::KEY_DELETE));
|
||||
|
||||
missing_anim_label = memnew(Label);
|
||||
missing_anim_label->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
missing_anim_label->set_text(TTR("This resource does not have any animations."));
|
||||
missing_anim_label->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
missing_anim_label->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue