diff --git a/forge-gui-mobile/src/forge/screens/quest/QuestBazaarScreen.java b/forge-gui-mobile/src/forge/screens/quest/QuestBazaarScreen.java index 032a17e704b..4d8564fbfa9 100644 --- a/forge-gui-mobile/src/forge/screens/quest/QuestBazaarScreen.java +++ b/forge-gui-mobile/src/forge/screens/quest/QuestBazaarScreen.java @@ -194,7 +194,7 @@ public class QuestBazaarScreen extends TabPageScreen { float labelWidth = width * 0.7f; float iconWidth = width - labelWidth - padding; float iconHeight = iconWidth * lblIcon.getIcon().getHeight() / lblIcon.getIcon().getWidth(); - float height1 = lblName.getHeight() + lblDesc.getPreferredHeight(width) + 3 * padding; + float height1 = lblName.getHeight() + lblDesc.getPreferredHeight(labelWidth) + 3 * padding; float height2 = iconHeight + btnBuy.getHeight() + lblCost.getHeight() + 4 * padding; return Math.max(height1, height2); }