summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-09 17:47:11 -0700
committerIra Rice <irarice@gmail.com>2009-02-09 17:47:11 -0700
commit62d5da97187d81aece0374b114e1444b757ac873 (patch)
tree1d4bf2a27ce70e1ae4a77a43c45282aa46104336
parent24dee6b42b461f8e3504b0f03ea856283d3599d3 (diff)
downloadmana-62d5da97187d81aece0374b114e1444b757ac873.tar.gz
mana-62d5da97187d81aece0374b114e1444b757ac873.tar.bz2
mana-62d5da97187d81aece0374b114e1444b757ac873.tar.xz
mana-62d5da97187d81aece0374b114e1444b757ac873.zip
Made progress bars in the status window a bit bigger based on a
suggestion by Grimmjow. Signed-off-by: Ira Rice <irarice@gmail.com>
-rw-r--r--src/gui/status.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/status.cpp b/src/gui/status.cpp
index e0e43b36..271b6f1e 100644
--- a/src/gui/status.cpp
+++ b/src/gui/status.cpp
@@ -41,7 +41,7 @@ StatusWindow::StatusWindow(LocalPlayer *player):
setWindowName(_("Status"));
setCloseButton(true);
setDefaultSize((windowContainer->getWidth() - 365) / 2,
- (windowContainer->getHeight() - 255) / 2, 400, 335);
+ (windowContainer->getHeight() - 255) / 2, 400, 345);
// ----------------------
// Status Part
@@ -116,13 +116,13 @@ StatusWindow::StatusWindow(LocalPlayer *player):
place(0, 0, mLvlLabel, 3);
place(5, 0, mJobLvlLabel, 3);
place(8, 0, mGpLabel, 3);
- place(1, 1, mHpLabel);
+ place(1, 1, mHpLabel).setPadding(3);
place(2, 1, mHpBar, 3);
- place(6, 1, mXpLabel);
+ place(6, 1, mXpLabel).setPadding(3);
place(7, 1, mXpBar, 3);
- place(1, 2, mMpLabel);
+ place(1, 2, mMpLabel).setPadding(3);
place(2, 2, mMpBar, 3);
- place(6, 2, mJobLabel);
+ place(6, 2, mJobLabel).setPadding(3);
place(7, 2, mJobBar, 3);
place.getCell().matchColWidth(0, 1);
place = getPlacer(0, 3);