summaryrefslogtreecommitdiff
path: root/src/gui/buy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/buy.cpp')
-rw-r--r--src/gui/buy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/buy.cpp b/src/gui/buy.cpp
index c2c8cfed..a0944086 100644
--- a/src/gui/buy.cpp
+++ b/src/gui/buy.cpp
@@ -70,8 +70,8 @@ BuyDialog::BuyDialog(Network *network):
mItemDescLabel = new Label(strprintf(_("Description: %s"), ""));
mItemEffectLabel = new Label(strprintf(_("Effect: %s"), ""));
- mIncreaseButton->setSize(gui->getFontHeight(), gui->getFontHeight());
- mDecreaseButton->setSize(gui->getFontHeight(), gui->getFontHeight());
+ mDecreaseButton->adjustSize();
+ mDecreaseButton->setWidth(mIncreaseButton->getWidth());
mIncreaseButton->setEnabled(false);
mDecreaseButton->setEnabled(false);