summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/qmlgraphicsflickable/flickable-vertical.qml
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-11-10 06:19:32 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-11-10 06:19:32 (GMT)
commit3193b8262f09e6fba602e839cce7ff7fbbbfd1d3 (patch)
tree528a137ceee39edcb3c437d7999464c55ff666ca /tests/auto/declarative/visual/qmlgraphicsflickable/flickable-vertical.qml
parent7438c0d663c43935093276ab00159afad9caa902 (diff)
downloadQt-3193b8262f09e6fba602e839cce7ff7fbbbfd1d3.zip
Qt-3193b8262f09e6fba602e839cce7ff7fbbbfd1d3.tar.gz
Qt-3193b8262f09e6fba602e839cce7ff7fbbbfd1d3.tar.bz2
Add scrollbar to flickable to test visualArea
Diffstat (limited to 'tests/auto/declarative/visual/qmlgraphicsflickable/flickable-vertical.qml')
-rw-r--r--tests/auto/declarative/visual/qmlgraphicsflickable/flickable-vertical.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/declarative/visual/qmlgraphicsflickable/flickable-vertical.qml b/tests/auto/declarative/visual/qmlgraphicsflickable/flickable-vertical.qml
index e6b0bf5..0d6bbed 100644
--- a/tests/auto/declarative/visual/qmlgraphicsflickable/flickable-vertical.qml
+++ b/tests/auto/declarative/visual/qmlgraphicsflickable/flickable-vertical.qml
@@ -27,4 +27,11 @@ Rectangle {
}
}
}
+ Rectangle {
+ radius: 3
+ x: Flick.width-8
+ width: 8
+ y: Flick.visibleArea.yPosition * Flick.height
+ height: Flick.visibleArea.heightRatio * Flick.height
+ }
}