summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-11-01 03:36:47 +0000
committerIra Rice <irarice@gmail.com>2008-11-01 03:36:47 +0000
commit81299ca9acc39dec62e1e504781721ad0db0d471 (patch)
tree7732a30d6b3bf57582f3cababceb8d7b4045be0d /src/gui/inventorywindow.cpp
parentd433f836a690199a89781a1c7f694620e7a1ad27 (diff)
downloadmana-81299ca9acc39dec62e1e504781721ad0db0d471.tar.gz
mana-81299ca9acc39dec62e1e504781721ad0db0d471.tar.bz2
mana-81299ca9acc39dec62e1e504781721ad0db0d471.tar.xz
mana-81299ca9acc39dec62e1e504781721ad0db0d471.zip
Made NPC dialogues resizeable.
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index 5add1d4f..936416d1 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -48,7 +48,6 @@ InventoryWindow::InventoryWindow():
setResizable(true);
setCloseButton(true);
setMinWidth(240);
- setMinHeight(172);
// If you adjust these defaults, don't forget to adjust the trade window's.
setDefaultSize(115, 25, 322, 172);
@@ -200,7 +199,6 @@ void InventoryWindow::draw()
// Update weight information
mWeightLabel->setTextWrapped(mWeight);
mWeightLabel->setMinWidth(width - 16);
- mWeightLabel->setWidth(width - 16);
mUseButton->setPosition(8, height - 8 - mUseButton->getHeight());
mDropButton->setPosition(8 + mUseButton->getWidth() + 5,