mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +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
|
|
@ -1594,6 +1594,7 @@ GridMapEditor::GridMapEditor() {
|
|||
mesh_library_palette->connect(SceneStringName(gui_input), callable_mp(this, &GridMapEditor::_mesh_library_palette_input));
|
||||
|
||||
info_message = memnew(Label);
|
||||
info_message->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
info_message->set_text(TTR("Give a MeshLibrary resource to this GridMap to use its meshes."));
|
||||
info_message->set_vertical_alignment(VERTICAL_ALIGNMENT_CENTER);
|
||||
info_message->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue