From e70e05251574606d19c60bc553b31a503586b934 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Sun, 26 May 2019 15:07:15 +0300 Subject: [PATCH] Resolved #804 - bigger Diplomacy and Next Turn buttons for easier click --- android/build.gradle | 4 ++-- core/src/com/unciv/ui/worldscreen/WorldScreen.kt | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index ca10bbba81..f5f27c9e0b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -21,8 +21,8 @@ android { applicationId "com.unciv.app" minSdkVersion 14 targetSdkVersion 28 - versionCode 247 - versionName "2.16.10" + versionCode 248 + versionName "2.16.10-patch1" } // Had to add this crap for Travis to build, it wanted to sign the app diff --git a/core/src/com/unciv/ui/worldscreen/WorldScreen.kt b/core/src/com/unciv/ui/worldscreen/WorldScreen.kt index 6da39d4a20..55120e4be0 100644 --- a/core/src/com/unciv/ui/worldscreen/WorldScreen.kt +++ b/core/src/com/unciv/ui/worldscreen/WorldScreen.kt @@ -184,6 +184,8 @@ class WorldScreen : CameraStageBaseScreen() { displayTutorials("OtherCivEncountered") val btn = TextButton("Diplomacy".tr(), skin) btn.onClick { UnCivGame.Current.screen = DiplomacyScreen() } + btn.label.setFontSize(30) + btn.labelCell.pad(10f) diplomacyButtonWrapper.add(btn) } diplomacyButtonWrapper.pack() @@ -223,9 +225,10 @@ class WorldScreen : CameraStageBaseScreen() { private fun createNextTurnButton(): TextButton { val nextTurnButton = TextButton("", skin) // text is set in update() + nextTurnButton.label.setFontSize(30) + nextTurnButton.labelCell.pad(10f) nextTurnButton.onClick { - // cycle through units not yet done if (currentPlayerCiv.shouldGoToDueUnit()) { val nextDueUnit = currentPlayerCiv.getNextDueUnit()