mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-07 17:43:54 +07:00
Tile stats are shown on a row, rather than on a column (#1946)
This commit is contained in:
parent
faa204d86f
commit
c4375ed4e8
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user