diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-28 18:29:04 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-28 18:29:04 +0000 |
commit | 5943323aff9db6c1405177478564072e9d2214b3 (patch) | |
tree | 410aa9db803119f4ae1ee09883591f382390a5b1 /src/gui/inventorywindow.cpp | |
parent | a59a96dc0f162a48f8cedcc804e9f89af3b1b9d3 (diff) | |
download | mana-5943323aff9db6c1405177478564072e9d2214b3.tar.gz mana-5943323aff9db6c1405177478564072e9d2214b3.tar.bz2 mana-5943323aff9db6c1405177478564072e9d2214b3.tar.xz mana-5943323aff9db6c1405177478564072e9d2214b3.zip |
Properly fix problems with ItemContainer in InventoryWindow not resizing
properly since upgrade to Guichan 0.8.0.
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r-- | src/gui/inventorywindow.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index a5460f1d..4172a532 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -96,8 +96,6 @@ void InventoryWindow::logic() mWeightLabel->setCaption( "Total Weight: " + toString(player_node->mTotalWeight) + " - " "Maximum Weight: " + toString(player_node->mMaxWeight)); - - mItems->setWidth(mInvenScroll->getAdjustedWidth()); } void InventoryWindow::action(const gcn::ActionEvent &event) @@ -205,8 +203,6 @@ void InventoryWindow::widgetResized(const gcn::Event &event) mInvenScroll->setSize(width - 16, mItemDescriptionLabel->getY() - mWeightLabel->getHeight() - 18); - mItems->setWidth(mInvenScroll->getAdjustedWidth()); - mWeightLabel->setWidth(width - 16); } |