mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-22 10:54:19 -04:00
Fix main menu buttons text alignment
This commit is contained in:
parent
1e0a0fb6c1
commit
9a9d195dbf
@ -79,8 +79,8 @@ class MainMenuScreen: BaseScreen(), RecreateOnResize {
|
||||
skinStrings.roundedEdgeRectangleShape,
|
||||
skinStrings.skinConfig.baseColor
|
||||
)
|
||||
table.add(ImageGetter.getImage(icon)).size(50f).padRight(30f)
|
||||
table.add(text.toLabel().setFontSize(30)).minWidth(200f)
|
||||
table.add(ImageGetter.getImage(icon)).size(50f).padRight(20f)
|
||||
table.add(text.toLabel(fontSize = 30, alignment = Align.left)).expand().left().minWidth(200f)
|
||||
|
||||
table.touchable = Touchable.enabled
|
||||
table.onActivation(function)
|
||||
|
Loading…
x
Reference in New Issue
Block a user