summaryrefslogtreecommitdiff
path: root/src/gui/sell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r--src/gui/sell.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp
index 47e44ffe..4b58d075 100644
--- a/src/gui/sell.cpp
+++ b/src/gui/sell.cpp
@@ -73,8 +73,8 @@ SellDialog::SellDialog(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);