diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-11-10 06:19:32 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-11-10 06:19:32 (GMT) |
commit | 3193b8262f09e6fba602e839cce7ff7fbbbfd1d3 (patch) | |
tree | 528a137ceee39edcb3c437d7999464c55ff666ca /tests/auto/declarative/visual/qmlgraphicsflickable/flickable-vertical.qml | |
parent | 7438c0d663c43935093276ab00159afad9caa902 (diff) | |
download | Qt-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.qml | 7 |
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 + } } |