diff --git a/examples/applets/testtheme/contents/ui/ScalePage.qml b/examples/applets/testtheme/contents/ui/ScalePage.qml
index f3fab1ad7..c9d21d88d 100644
--- a/examples/applets/testtheme/contents/ui/ScalePage.qml
+++ b/examples/applets/testtheme/contents/ui/ScalePage.qml
@@ -66,7 +66,7 @@ Item {
}
PlasmaComponents.Label {
id: cheatLabel
- text: "Cheating with the font size. This label scales with the devicePixelRatio on top of font rendering. Just to show how text scaling can work dynamically."
+ text: "Cheating with the font size. This label scales with the devicePixelRatio on top of font rendering. Just to show how text scaling can work dynamically. Normal labels scale with the font size. For demonstration purposes we're faking scaled fonts here, to show how layouts' flows change."
font.pointSize: theme.defaultFont.pointSize * units.devicePixelRatio / 1.8
wrapMode: Text.WordWrap
anchors {
@@ -92,7 +92,8 @@ Item {
Flow {
anchors {
left: parent.left
- bottom: parent.bottom
+ top: cheatLabel.height > apeImage.height ? cheatLabel.bottom : apeImage.bottom
+ topMargin: units.largeSpacing
right: parent.right
}
//height: _h
diff --git a/examples/applets/testtheme/contents/ui/testtheme.qml b/examples/applets/testtheme/contents/ui/testtheme.qml
index 439840d14..6cf138f9b 100644
--- a/examples/applets/testtheme/contents/ui/testtheme.qml
+++ b/examples/applets/testtheme/contents/ui/testtheme.qml
@@ -82,11 +82,12 @@ Item {
id: dprSlider
anchors {
bottom: parent.bottom
+ bottomMargin: units.largeSpacing/2
left: sliderLabel.right
right: parent.right
}
minimumValue: 0
- maximumValue: 400
+ maximumValue: 300
stepSize: 20
focus: true
onValueChanged: {