Fix main menu buttons text alignment

This commit is contained in:
vegeta1k95
2023-02-08 19:13:13 +01:00
parent 1e0a0fb6c1
commit 9a9d195dbf

View File

@ -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)