From 5117a498f982c3f62ed15b4f6888778aca62cf58 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Thu, 5 Mar 2020 23:29:42 +0200 Subject: [PATCH] Resolved #2040 - Moved the turn counter on the top bar to the second level, to even out both levels --- core/src/com/unciv/ui/worldscreen/WorldScreenTopBar.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/ui/worldscreen/WorldScreenTopBar.kt b/core/src/com/unciv/ui/worldscreen/WorldScreenTopBar.kt index 341f5f7fc8..ccf2ab82d3 100644 --- a/core/src/com/unciv/ui/worldscreen/WorldScreenTopBar.kt +++ b/core/src/com/unciv/ui/worldscreen/WorldScreenTopBar.kt @@ -57,6 +57,7 @@ class WorldScreenTopBar(val worldScreen: WorldScreen) : Table() { private fun getResourceTable(): Table { val resourceTable = Table() resourceTable.defaults().pad(5f) + resourceTable.add(turnsLabel).padRight(20f) val revealedStrategicResources = worldScreen.gameInfo.ruleSet.tileResources.values .filter { it.resourceType == ResourceType.Strategic } // && currentPlayerCivInfo.tech.isResearched(it.revealedBy!!) } for (resource in revealedStrategicResources) { @@ -74,7 +75,6 @@ class WorldScreenTopBar(val worldScreen: WorldScreen) : Table() { private fun getStatsTable(): Table { val statsTable = Table() statsTable.defaults().pad(3f)//.align(Align.top) - statsTable.add(turnsLabel).padRight(20f) statsTable.add(goldLabel) statsTable.add(ImageGetter.getStatIcon("Gold")).padRight(20f).size(20f) statsTable.add(scienceLabel) //.apply { setAlignment(Align.center) }).align(Align.top)