aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testapplications/elements/content/ScaleElement.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testapplications/elements/content/ScaleElement.qml')
-rw-r--r--tests/testapplications/elements/content/ScaleElement.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/testapplications/elements/content/ScaleElement.qml b/tests/testapplications/elements/content/ScaleElement.qml
index 0725898aed..7d23440ed6 100644
--- a/tests/testapplications/elements/content/ScaleElement.qml
+++ b/tests/testapplications/elements/content/ScaleElement.qml
@@ -49,7 +49,9 @@ Item {
Rectangle {
id: scaletarget
color: "green"; height: 100; width: 100; border.color: "gray"; opacity: 0.7; radius: 5
- anchors.centerIn: parent
+ anchors.horizontalCenter: parent.horizontalCenter
+ anchors.bottom: parent.bottom
+ anchors.bottomMargin: 15
transform: Scale {
id: scaleelement
property alias originx: scaleelement.origin.x