From 62a3dcfd34d05a7bc6792db53d892c0004d93868 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 10 May 2024 17:52:21 +0200 Subject: [PATCH] Turn autowrap on on LayeredTileSetAtlasSourceEditor's tile_inspector_no_tile_selected_label. --- .../editor/layered_tile_set_atlas_source_editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/layered_tile_map/editor/layered_tile_set_atlas_source_editor.cpp b/modules/layered_tile_map/editor/layered_tile_set_atlas_source_editor.cpp index 31af225e5..3ac5ecf87 100644 --- a/modules/layered_tile_map/editor/layered_tile_set_atlas_source_editor.cpp +++ b/modules/layered_tile_map/editor/layered_tile_set_atlas_source_editor.cpp @@ -2627,6 +2627,7 @@ LayeredTileSetAtlasSourceEditor::LayeredTileSetAtlasSourceEditor() { tile_inspector_no_tile_selected_label->set_v_size_flags(SIZE_EXPAND | SIZE_SHRINK_CENTER); tile_inspector_no_tile_selected_label->set_align(Label::ALIGN_CENTER); tile_inspector_no_tile_selected_label->set_text(TTR("No tiles selected.\nSelect one or more tiles from the palette to edit its properties.")); + tile_inspector_no_tile_selected_label->set_autowrap(true); middle_vbox_container->add_child(tile_inspector_no_tile_selected_label); // Property values palette.