diff options
Diffstat (limited to 'tests/testapplications/elements/content/MouseAreaElement.qml')
-rw-r--r-- | tests/testapplications/elements/content/MouseAreaElement.qml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/testapplications/elements/content/MouseAreaElement.qml b/tests/testapplications/elements/content/MouseAreaElement.qml index a5ee79888f..f4143e295d 100644 --- a/tests/testapplications/elements/content/MouseAreaElement.qml +++ b/tests/testapplications/elements/content/MouseAreaElement.qml @@ -45,13 +45,14 @@ Item { id: mouseareaelementtest anchors.fill: parent property string testtext: "" - property int sidelength: 1500 - focus: true + Rectangle { id: mouseareaelementbox - color: "lightgray"; border.color: "gray"; radius: 5; clip: true; opacity: .7; height: 300; width: 300 - anchors.centerIn: parent + color: "lightgray"; border.color: "gray"; radius: 5; clip: true; opacity: .7; height: 200; width: 200 + anchors.horizontalCenter: parent.horizontalCenter + anchors.bottom: parent.bottom + anchors.bottomMargin: 15 MouseArea { id: mouseareaelement hoverEnabled: true |