summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-09 18:15:15 -0700
committerIra Rice <irarice@gmail.com>2009-02-09 18:15:15 -0700
commita8a992ade40c9d68c9faec1cc3a54e7f064fb9d5 (patch)
tree2fc0caaca4564bd77e1afd54eebafc01ea33c587 /src/gui/inventorywindow.cpp
parent62d5da97187d81aece0374b114e1444b757ac873 (diff)
downloadmana-client-a8a992ade40c9d68c9faec1cc3a54e7f064fb9d5.tar.gz
mana-client-a8a992ade40c9d68c9faec1cc3a54e7f064fb9d5.tar.bz2
mana-client-a8a992ade40c9d68c9faec1cc3a54e7f064fb9d5.tar.xz
mana-client-a8a992ade40c9d68c9faec1cc3a54e7f064fb9d5.zip
Fixed width of the weight label, as noticed by Grimmjow.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index b9fe1c90..af3b29a2 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -87,12 +87,12 @@ InventoryWindow::InventoryWindow(int invSize):
mWeightBar = new ProgressBar(1.0f, 100, 20, 0, 0, 255);
setMinHeight(130);
- setMinWidth(mWeightLabel->getWidth() + mSlotsLabel->getWidth() + 310);
+ setMinWidth(mWeightLabel->getWidth() + mSlotsLabel->getWidth() + 280);
place(0, 0, mWeightLabel).setPadding(3);
- place(1, 0, mWeightBar, 2);
- place(3, 0, mSlotsLabel).setPadding(3);
- place(4, 0, mSlotsBar, 2);
+ place(1, 0, mWeightBar, 3);
+ place(4, 0, mSlotsLabel).setPadding(3);
+ place(5, 0, mSlotsBar, 2);
place(0, 1, mInvenScroll, 7, 4);
place(5, 5, mDropButton);
place(6, 5, mUseButton);