summaryrefslogtreecommitdiff
path: root/src/gui/status.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/status.cpp')
-rw-r--r--src/gui/status.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/status.cpp b/src/gui/status.cpp
index 21087fad..683a9a41 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
@@ -119,20 +119,20 @@ 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);
place(0, 0, mStatsTitleLabel, 5);
place(5, 1, mStatsTotalLabel, 5);
place(12, 1, mStatsCostLabel, 5);
- for(int i = 0; i < 6; i++)
+ for (int i = 0; i < 6; i++)
{
place(0, 2 + i, mStatsLabel[i], 7).setPadding(5);
place(7, 2 + i, mStatsDisplayLabel[i]).setPadding(5);