diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-25 06:12:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-25 06:12:48 +0300 |
commit | f55baadfeb6245899497cd472f65f23e905481b9 (patch) | |
tree | d5d3dfa758d9d46cf91bc81e0190ee67c7bc48e7 /src/gui/windows/statuswindow.cpp | |
parent | 52039744fa2e5e116548e5236cd8ba5f5d81702a (diff) | |
download | manaplus-f55baadfeb6245899497cd472f65f23e905481b9.tar.gz manaplus-f55baadfeb6245899497cd472f65f23e905481b9.tar.bz2 manaplus-f55baadfeb6245899497cd472f65f23e905481b9.tar.xz manaplus-f55baadfeb6245899497cd472f65f23e905481b9.zip |
Remove default parameters from containerplacer.
Diffstat (limited to 'src/gui/windows/statuswindow.cpp')
-rw-r--r-- | src/gui/windows/statuswindow.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp index 841e64505..43a4b05e4 100644 --- a/src/gui/windows/statuswindow.cpp +++ b/src/gui/windows/statuswindow.cpp @@ -166,17 +166,17 @@ StatusWindow::StatusWindow() : getThemeColor(ThemeColorId::NO_MP_BAR_OUTLINE, 255U)); } - place(0, 0, mLvlLabel, 3); - place(0, 1, mHpLabel).setPadding(3); - place(1, 1, mHpBar, 4); - place(5, 1, mXpLabel).setPadding(3); - place(6, 1, mXpBar, 5); - place(0, 2, mMpLabel).setPadding(3); + place(0, 0, mLvlLabel, 3, 1); + place(0, 1, mHpLabel, 1, 1).setPadding(3); + place(1, 1, mHpBar, 4, 1); + place(5, 1, mXpLabel, 1, 1).setPadding(3); + place(6, 1, mXpBar, 5, 1); + place(0, 2, mMpLabel, 1, 1).setPadding(3); // 5, 2 and 6, 2 Job Progress Bar if (job) - place(1, 2, mMpBar, 4); + place(1, 2, mMpBar, 4, 1); else - place(1, 2, mMpBar, 10); + place(1, 2, mMpBar, 10, 1); if (job) { @@ -190,24 +190,24 @@ StatusWindow::StatusWindow() : getThemeColor(ThemeColorId::JOB_BAR_OUTLINE, 255U)); mJobBar->setSelectable(false); - place(3, 0, mJobLvlLabel, 3); - place(5, 2, mJobLabel).setPadding(3); - place(6, 2, mJobBar, 5); - place(6, 0, mMoneyLabel, 3); + place(3, 0, mJobLvlLabel, 3, 1); + place(5, 2, mJobLabel, 1, 1).setPadding(3); + place(6, 2, mJobBar, 5, 1); + place(6, 0, mMoneyLabel, 3, 1); } else { mJobLvlLabel = nullptr; mJobLabel = nullptr; mJobBar = nullptr; - place(3, 0, mMoneyLabel, 3); + place(3, 0, mMoneyLabel, 3, 1); } place(0, 3, mTabs, 11, 3); getLayout().setRowHeight(3, LayoutType::SET); - place(0, 5, mCopyButton); + place(0, 5, mCopyButton, 1, 1); loadWindowState(); enableVisibleSound(true); |