summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-05 13:22:30 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-05 13:22:30 +0300
commit5ffbb0ca66337bd13a21a1875cc5bec5cc9a724d (patch)
treeb06d05c3243cb8d1f032e81eb678ff27746e0c74
parent1c61dcbb8584d80543dc71f0a9c42a138ba43827 (diff)
downloadplus-5ffbb0ca66337bd13a21a1875cc5bec5cc9a724d.tar.gz
plus-5ffbb0ca66337bd13a21a1875cc5bec5cc9a724d.tar.bz2
plus-5ffbb0ca66337bd13a21a1875cc5bec5cc9a724d.tar.xz
plus-5ffbb0ca66337bd13a21a1875cc5bec5cc9a724d.zip
move money lable in status window for small resolutions.
-rw-r--r--src/gui/statuswindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp
index 3f13adbdb..1e1c0fe4d 100644
--- a/src/gui/statuswindow.cpp
+++ b/src/gui/statuswindow.cpp
@@ -214,7 +214,6 @@ StatusWindow::StatusWindow() :
}
place(0, 0, mLvlLabel, 3);
- place(8, 0, mMoneyLabel, 3);
place(0, 1, mHpLabel).setPadding(3);
place(1, 1, mHpBar, 4);
place(5, 1, mXpLabel).setPadding(3);
@@ -237,15 +236,17 @@ StatusWindow::StatusWindow() :
mJobLabel = new Label(this, _("Job:"));
mJobBar = new ProgressBar(this, 0.0f, 80, 0, Theme::PROG_JOB);
- place(5, 0, mJobLvlLabel, 3);
+ place(3, 0, mJobLvlLabel, 3);
place(5, 2, mJobLabel).setPadding(3);
place(6, 2, mJobBar, 5);
+ place(6, 0, mMoneyLabel, 3);
}
else
{
mJobLvlLabel = nullptr;
mJobLabel = nullptr;
mJobBar = nullptr;
+ place(3, 0, mMoneyLabel, 3);
}
// ----------------------