diff options
author | Ira Rice <irarice@gmail.com> | 2009-03-19 20:39:12 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-19 20:39:12 -0600 |
commit | 0b076a2dd247cd128599bf24eeba31f372f89585 (patch) | |
tree | aab9ce14737a9862eb8696d3831dbebc34b52cbb /src/gui/item_amount.cpp | |
parent | abffda81e5bab1fbf4870238e803bb5bae9d0df0 (diff) | |
download | mana-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/item_amount.cpp')
-rw-r--r-- | src/gui/item_amount.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/item_amount.cpp b/src/gui/item_amount.cpp index 5a7cf18f..41122229 100644 --- a/src/gui/item_amount.cpp +++ b/src/gui/item_amount.cpp @@ -62,8 +62,8 @@ ItemAmountWindow::ItemAmountWindow(int usage, Window *parent, Item *item): Button *cancelButton = new Button(_("Cancel"), "Cancel", this); Button *addAllButton = new Button(_("All"), "All", this); - minusButton->setSize(gui->getFontHeight(), gui->getFontHeight()); - plusButton->setSize(gui->getFontHeight(), gui->getFontHeight()); + minusButton->adjustSize(); + minusButton->setWidth(plusButton->getWidth()); // Set positions ContainerPlacer place; |