Undo Move button moved to far right, so other buttons stay in place

This commit is contained in:
Yair Morgenstern 2023-06-28 13:23:17 +03:00
parent a8ec8f84ec
commit 4c28905e2c

View File

@ -44,10 +44,10 @@ class TechPolicyDiplomacyButtons(val worldScreen: WorldScreen) : Table(BaseScree
init {
defaults().left()
add(techButtonHolder).colspan(4).row()
add(undoButtonHolder).padTop(10f).padRight(10f)
add(policyButtonHolder).padTop(10f).padRight(10f)
add(diplomacyButtonHolder).padTop(10f).padRight(10f)
add(espionageButtonHolder).padTop(10f)
add(espionageButtonHolder).padTop(10f).padRight(10f)
add(undoButtonHolder).padTop(10f).padRight(10f)
add().growX() // Allows Policy and Diplo buttons to keep to the left
pickTechButton.background = BaseScreen.skinStrings.getUiBackground("WorldScreen/PickTechButton", BaseScreen.skinStrings.roundedEdgeRectangleShape, colorFromRGB(7, 46, 43))