aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickflickable/data/dragon.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickflickable/data/dragon.qml')
-rw-r--r--tests/auto/quick/qquickflickable/data/dragon.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickflickable/data/dragon.qml b/tests/auto/quick/qquickflickable/data/dragon.qml
new file mode 100644
index 0000000000..b82477453b
--- /dev/null
+++ b/tests/auto/quick/qquickflickable/data/dragon.qml
@@ -0,0 +1,15 @@
+import QtQuick 2.12
+
+Flickable {
+ id: flick
+ width: 320
+ height: 320
+ contentWidth: 500
+ contentHeight: 500
+ Text {
+ anchors.centerIn: parent
+ font.pixelSize: 50
+ text: "🐉"
+ color: flick.dragging ? "orange" : "grey"
+ }
+}