aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qquickflickable/data/wheel.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qtquick2/qquickflickable/data/wheel.qml')
-rw-r--r--tests/auto/qtquick2/qquickflickable/data/wheel.qml25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/qquickflickable/data/wheel.qml b/tests/auto/qtquick2/qquickflickable/data/wheel.qml
new file mode 100644
index 0000000000..2928bbcd72
--- /dev/null
+++ b/tests/auto/qtquick2/qquickflickable/data/wheel.qml
@@ -0,0 +1,25 @@
+import QtQuick 2.0
+
+Rectangle {
+ width: 400
+ height: 400
+ color: "gray"
+
+ Flickable {
+ id: flick
+ objectName: "flick"
+ anchors.fill: parent
+ contentWidth: 800
+ contentHeight: 800
+
+ Rectangle {
+ width: flick.contentWidth
+ height: flick.contentHeight
+ color: "red"
+ Rectangle {
+ width: 50; height: 50; color: "blue"
+ anchors.centerIn: parent
+ }
+ }
+ }
+}