summaryrefslogtreecommitdiff
path: root/src/gui/widgets/attrs
diff options
context:
space:
mode:
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);
}