diff options
Diffstat (limited to 'tests/testapplications/elements/content/GridElement.qml')
-rw-r--r-- | tests/testapplications/elements/content/GridElement.qml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/testapplications/elements/content/GridElement.qml b/tests/testapplications/elements/content/GridElement.qml index da27b4793e..0a92e10c92 100644 --- a/tests/testapplications/elements/content/GridElement.qml +++ b/tests/testapplications/elements/content/GridElement.qml @@ -48,8 +48,10 @@ Item { Grid { id: gridelement - height: 250; width: 120; spacing: 5; columns: 2 - anchors.horizontalCenter: parent.horizontalCenter; anchors.bottom: parent.bottom; anchors.bottomMargin: 100 + height: 120; width: 120; spacing: 5; columns: 2 + anchors.horizontalCenter: parent.horizontalCenter + anchors.bottom: parent.bottom + anchors.bottomMargin: 15 Rectangle { id: gr; color: "green"; height: 50; width: 50; border.color: "gray"; border.width: 3; opacity: .9; radius: 5; clip: true } Rectangle { id: re; color: "red"; height: 50; width: 50; border.color: "gray"; border.width: 3; opacity: .9; radius: 5; clip: true } |