summaryrefslogtreecommitdiff
path: root/src/gui/npcintegerdialog.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-03-19 20:20:11 -0600
committerIra Rice <irarice@gmail.com>2009-03-19 20:20:11 -0600
commitabffda81e5bab1fbf4870238e803bb5bae9d0df0 (patch)
tree661e6d5de6bc258b5fc2366bc5f46b0d73a7bdf6 /src/gui/npcintegerdialog.cpp
parentabeaa1184ae1f30adeeb6684748b3cf8e3f16b11 (diff)
downloadmana-client-abffda81e5bab1fbf4870238e803bb5bae9d0df0.tar.gz
mana-client-abffda81e5bab1fbf4870238e803bb5bae9d0df0.tar.bz2
mana-client-abffda81e5bab1fbf4870238e803bb5bae9d0df0.tar.xz
mana-client-abffda81e5bab1fbf4870238e803bb5bae9d0df0.zip
Reformatted the item amount window and the buy/sell windows so that
their guis are similarly laid out. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/npcintegerdialog.cpp')
-rw-r--r--src/gui/npcintegerdialog.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/npcintegerdialog.cpp b/src/gui/npcintegerdialog.cpp
index 5b3e05aa..5332d196 100644
--- a/src/gui/npcintegerdialog.cpp
+++ b/src/gui/npcintegerdialog.cpp
@@ -21,6 +21,7 @@
*/
#include "button.h"
+#include "gui.h"
#include "inttextfield.h"
#include "npcintegerdialog.h"
@@ -47,8 +48,8 @@ NpcIntegerDialog::NpcIntegerDialog(Network *network):
cancelButton = new Button(_("Cancel"), "cancel", this);
resetButton = new Button(_("Reset"), "reset", this);
- mDecButton->setSize(20, 20);
- mIncButton->setSize(20, 20);
+ mIncButton->setSize(gui->getFontHeight(), gui->getFontHeight());
+ mDecButton->setSize(gui->getFontHeight(), gui->getFontHeight());
ContainerPlacer place;
place = getPlacer(0, 0);