tests: fix warning in qml example
authorHolger Kaelberer <holger.k@elberer.de>
Sun, 24 Jan 2016 14:47:12 +0000 (15:47 +0100)
committerMatthew Waters <matthew@centricular.com>
Mon, 1 Feb 2016 02:55:05 +0000 (13:55 +1100)
https://bugzilla.gnome.org/show_bug.cgi?id=756082

tests/examples/qt/qml/main.qml

index 842e98f..ffd3cd1 100644 (file)
@@ -33,8 +33,8 @@ ApplicationWindow {
             anchors.bottom: video.bottom
             anchors.bottomMargin: 15
             anchors.horizontalCenter: parent.horizontalCenter
-            width : childrenRect.width + 20
-            height: childrenRect.height + 20
+            width : parent.width - 30
+            height: parent.height - 30
             radius: 8
 
             MouseArea {