diff options
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); } |