summaryrefslogtreecommitdiff
path: root/core/src/com/ilotterytea/maxoning
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/com/ilotterytea/maxoning')
-rw-r--r--core/src/com/ilotterytea/maxoning/ui/PurchaseItem.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/com/ilotterytea/maxoning/ui/PurchaseItem.java b/core/src/com/ilotterytea/maxoning/ui/PurchaseItem.java
index bebd9ac..0b6f67f 100644
--- a/core/src/com/ilotterytea/maxoning/ui/PurchaseItem.java
+++ b/core/src/com/ilotterytea/maxoning/ui/PurchaseItem.java
@@ -25,9 +25,9 @@ public class PurchaseItem extends Table {
Label desc = new Label(String.format("%s SQP (%s/click)", MaxonConstants.DECIMAL_FORMAT.format(item.price), MaxonConstants.DECIMAL_FORMAT.format(item.multiplier)), skin, "item_price");
desc.setAlignment(Align.left);
- summary.add(name).width(desc.getWidth()).row();
- summary.add(desc);
+ summary.add(name).align(Align.left).row();
+ summary.add(desc).grow();
- super.add(summary);
+ super.add(summary).grow();
}
}