aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/pointer/content/Slider.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/pointer/content/Slider.qml')
-rw-r--r--tests/manual/pointer/content/Slider.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/manual/pointer/content/Slider.qml b/tests/manual/pointer/content/Slider.qml
index c381d97c7c..e3e02b0a2f 100644
--- a/tests/manual/pointer/content/Slider.qml
+++ b/tests/manual/pointer/content/Slider.qml
@@ -51,8 +51,8 @@ Item {
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.margins: 10
- anchors.topMargin: 30
- anchors.bottomMargin: 30
+ anchors.topMargin: label.height + 6
+ anchors.bottomMargin: valueLabel.height + 4
anchors.horizontalCenter: parent.horizontalCenter
width: 10
color: "black"
@@ -98,6 +98,7 @@ Item {
}
Text {
+ id: valueLabel
font.pointSize: 16
color: "red"
anchors.bottom: parent.bottom