summaryrefslogtreecommitdiff
path: root/src/gui/npcintegerdialog.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-03-19 20:39:12 -0600
committerIra Rice <irarice@gmail.com>2009-03-19 20:39:12 -0600
commit0b076a2dd247cd128599bf24eeba31f372f89585 (patch)
treeaab9ce14737a9862eb8696d3831dbebc34b52cbb /src/gui/npcintegerdialog.cpp
parentabffda81e5bab1fbf4870238e803bb5bae9d0df0 (diff)
downloadmana-0b076a2dd247cd128599bf24eeba31f372f89585.tar.gz
mana-0b076a2dd247cd128599bf24eeba31f372f89585.tar.bz2
mana-0b076a2dd247cd128599bf24eeba31f372f89585.tar.xz
mana-0b076a2dd247cd128599bf24eeba31f372f89585.zip
Made the plus and minus buttons in the last commit look more
aesthetically pleasing. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/npcintegerdialog.cpp')
-rw-r--r--src/gui/npcintegerdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/npcintegerdialog.cpp b/src/gui/npcintegerdialog.cpp
index 5332d196..b4498b31 100644
--- a/src/gui/npcintegerdialog.cpp
+++ b/src/gui/npcintegerdialog.cpp
@@ -48,8 +48,8 @@ NpcIntegerDialog::NpcIntegerDialog(Network *network):
cancelButton = new Button(_("Cancel"), "cancel", this);
resetButton = new Button(_("Reset"), "reset", this);
- mIncButton->setSize(gui->getFontHeight(), gui->getFontHeight());
- mDecButton->setSize(gui->getFontHeight(), gui->getFontHeight());
+ mDecButton->adjustSize();
+ mDecButton->setWidth(mIncButton->getWidth());
ContainerPlacer place;
place = getPlacer(0, 0);