summaryrefslogtreecommitdiff
path: root/core/src/com/ilotterytea/maxoning/screens
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/com/ilotterytea/maxoning/screens')
-rw-r--r--core/src/com/ilotterytea/maxoning/screens/game/shop/ShopUI.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/com/ilotterytea/maxoning/screens/game/shop/ShopUI.java b/core/src/com/ilotterytea/maxoning/screens/game/shop/ShopUI.java
index fa52c01..313da56 100644
--- a/core/src/com/ilotterytea/maxoning/screens/game/shop/ShopUI.java
+++ b/core/src/com/ilotterytea/maxoning/screens/game/shop/ShopUI.java
@@ -145,7 +145,8 @@ public class ShopUI {
}
public void createShopListUI(final MaxonSavegame player) {
- Table table = new Table();
+ Table table = new Table(this.skin);
+ table.setBackground("shop_list");
for (final MaxonItem item : this.items) {
int amount = (int) player.inv.stream().filter(c -> c == item.id).count();
@@ -161,6 +162,7 @@ public class ShopUI {
scrollPane.setScrollingDisabled(true, false);
Table scrollPaneTable = new Table(this.skin);
+ scrollPaneTable.setBackground("shop_list");
scrollPaneTable.pad(1f, 5f, 1f, 5f);
scrollPaneTable.add(scrollPane).grow();