diff options
| author | ilotterytea <iltsu@alright.party> | 2024-06-01 16:25:44 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-06-01 16:25:44 +0500 |
| commit | 8553e5a7e09df8a593af512b0f3455bef534a4dd (patch) | |
| tree | 23b5d1a99354ff0f6a9f03295743a33ac1310d10 /core | |
| parent | 5b1cccb0c72b7d38c25f2e5e6873f06a3e0a67a0 (diff) | |
upd: store title
Diffstat (limited to 'core')
| -rw-r--r-- | core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java b/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java index 0282ea6..cf40ebf 100644 --- a/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java +++ b/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java @@ -81,15 +81,13 @@ public class ShopUI { } public void createShopTitleUI() { - Table table = new Table(this.skin); + Table table = new Table(); - table.align(Align.center); - table.pad(10f); + Label label = new Label("Store", skin, "store_title"); + label.setAlignment(Align.center); + table.add(label).padTop(10f).grow(); - Label label = new Label("Store", skin); - table.add(label); - - this.table.add(table).grow().row(); + this.table.add(table).growX().row(); } public void createShopControlUI() { |
