mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-30 21:21:10 +00:00 
			
		
		
		
	Improve some tile editor hint labels
This commit is contained in:
		
							parent
							
								
									ea6a141fff
								
							
						
					
					
						commit
						0972e15df5
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -2187,7 +2187,7 @@ TileMapEditorTilesPlugin::TileMapEditorTilesPlugin() { | |||
| 	tiles_bottom_panel->set_name(TTR("Tiles")); | ||||
| 
 | ||||
| 	missing_source_label = memnew(Label); | ||||
| 	missing_source_label->set_text(TTR("This TileMap's TileSet has no source configured. Edit the TileSet resource to add one.")); | ||||
| 	missing_source_label->set_text(TTR("This TileMap's TileSet has no source configured. Go to the TileSet bottom tab to add one.")); | ||||
| 	missing_source_label->set_h_size_flags(Control::SIZE_EXPAND_FILL); | ||||
| 	missing_source_label->set_v_size_flags(Control::SIZE_EXPAND_FILL); | ||||
| 	missing_source_label->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER); | ||||
|  | @ -4069,7 +4069,7 @@ TileMapEditor::TileMapEditor() { | |||
| 	tile_map_toolbar->add_child(advanced_menu_button); | ||||
| 
 | ||||
| 	missing_tileset_label = memnew(Label); | ||||
| 	missing_tileset_label->set_text(TTR("The edited TileMap node has no TileSet resource.")); | ||||
| 	missing_tileset_label->set_text(TTR("The edited TileMap node has no TileSet resource.\nCreate or load a TileSet resource in the Tile Set property in the inspector.")); | ||||
| 	missing_tileset_label->set_h_size_flags(SIZE_EXPAND_FILL); | ||||
| 	missing_tileset_label->set_v_size_flags(SIZE_EXPAND_FILL); | ||||
| 	missing_tileset_label->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER); | ||||
|  |  | |||
|  | @ -822,7 +822,7 @@ TileSetEditor::TileSetEditor() { | |||
| 
 | ||||
| 	// No source selected.
 | ||||
| 	no_source_selected_label = memnew(Label); | ||||
| 	no_source_selected_label->set_text(TTR("No TileSet source selected. Select or create a TileSet source.")); | ||||
| 	no_source_selected_label->set_text(TTR("No TileSet source selected. Select or create a TileSet source.\nYou can create a new source by using the Add button on the left or by dropping a tileset texture onto the source list.")); | ||||
| 	no_source_selected_label->set_h_size_flags(SIZE_EXPAND_FILL); | ||||
| 	no_source_selected_label->set_v_size_flags(SIZE_EXPAND_FILL); | ||||
| 	no_source_selected_label->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 kobewi
						kobewi