aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickitemlayer/data/Smooth.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickitemlayer/data/Smooth.qml')
-rw-r--r--tests/auto/quick/qquickitemlayer/data/Smooth.qml23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickitemlayer/data/Smooth.qml b/tests/auto/quick/qquickitemlayer/data/Smooth.qml
new file mode 100644
index 0000000000..3f9575bb0b
--- /dev/null
+++ b/tests/auto/quick/qquickitemlayer/data/Smooth.qml
@@ -0,0 +1,23 @@
+import QtQuick 2.0
+
+
+Item {
+ width: 200
+ height: 100
+
+ Row {
+ id: layerRoot
+
+ width: 20
+ height: 10
+
+ Rectangle { width: 10; height: 10; color: "red" }
+ Rectangle { width: 10; height: 10; color: "blue" }
+
+ layer.enabled: true
+ layer.smooth: true
+
+ anchors.centerIn: parent
+ scale: 10
+ }
+}