summaryrefslogtreecommitdiff
path: root/src/gui/widgets/attrs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-25 06:12:48 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-25 06:12:48 +0300
commitf55baadfeb6245899497cd472f65f23e905481b9 (patch)
treed5d3dfa758d9d46cf91bc81e0190ee67c7bc48e7 /src/gui/widgets/attrs
parent52039744fa2e5e116548e5236cd8ba5f5d81702a (diff)
downloadmanaplus-f55baadfeb6245899497cd472f65f23e905481b9.tar.gz
manaplus-f55baadfeb6245899497cd472f65f23e905481b9.tar.bz2
manaplus-f55baadfeb6245899497cd472f65f23e905481b9.tar.xz
manaplus-f55baadfeb6245899497cd472f65f23e905481b9.zip
Remove default parameters from containerplacer.
Diffstat (limited to 'src/gui/widgets/attrs')
-rw-r--r--src/gui/widgets/attrs/changedisplay.cpp8
-rw-r--r--src/gui/widgets/attrs/derdisplay.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/attrs/changedisplay.cpp b/src/gui/widgets/attrs/changedisplay.cpp
index a24057af5..d5a598545 100644
--- a/src/gui/widgets/attrs/changedisplay.cpp
+++ b/src/gui/widgets/attrs/changedisplay.cpp
@@ -52,10 +52,10 @@ ChangeDisplay::ChangeDisplay(const Widget2 *const widget,
// Do the layout
ContainerPlacer place = mLayout->getPlacer(0, 0);
- place(0, 0, mLabel, 3);
- place(4, 0, mValue, 2);
- place(6, 0, mInc);
- place(7, 0, mPoints);
+ place(0, 0, mLabel, 3, 1);
+ place(4, 0, mValue, 2, 1);
+ place(6, 0, mInc, 1, 1);
+ place(7, 0, mPoints, 1, 1);
}
std::string ChangeDisplay::update()
diff --git a/src/gui/widgets/attrs/derdisplay.cpp b/src/gui/widgets/attrs/derdisplay.cpp
index 2c20c3713..5bb05b719 100644
--- a/src/gui/widgets/attrs/derdisplay.cpp
+++ b/src/gui/widgets/attrs/derdisplay.cpp
@@ -35,6 +35,6 @@ DerDisplay::DerDisplay(const Widget2 *const widget,
{
ContainerPlacer place = mLayout->getPlacer(0, 0);
- place(0, 0, mLabel, 3);
- place(3, 0, mValue, 2);
+ place(0, 0, mLabel, 3, 1);
+ place(3, 0, mValue, 2, 1);
}