From c4375ed4e8faf9e79dccd5de29b3146694e06ec6 Mon Sep 17 00:00:00 2001 From: Federico Luongo Date: Wed, 26 Feb 2020 20:48:25 +0100 Subject: [PATCH] Tile stats are shown on a row, rather than on a column (#1946) --- core/src/com/unciv/ui/cityscreen/CityScreenTileTable.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/com/unciv/ui/cityscreen/CityScreenTileTable.kt b/core/src/com/unciv/ui/cityscreen/CityScreenTileTable.kt index 1e753ae9..d617af05 100644 --- a/core/src/com/unciv/ui/cityscreen/CityScreenTileTable.kt +++ b/core/src/com/unciv/ui/cityscreen/CityScreenTileTable.kt @@ -68,8 +68,7 @@ class CityScreenTileTable(val city: CityInfo): Table(){ statsTable.defaults().pad(2f) for (entry in stats.toHashMap().filterNot { it.value == 0f }) { statsTable.add(ImageGetter.getStatIcon(entry.key.toString())).size(20f) - statsTable.add(entry.value.roundToInt().toString().toLabel()) - statsTable.row() + statsTable.add(entry.value.roundToInt().toString().toLabel()).padRight(5f) } return statsTable }