diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-09-07 00:23:25 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-09-07 00:23:25 (GMT) |
commit | 94a64a803fd268b91ff8f73522d195d9a7ed1d96 (patch) | |
tree | 1bb516bd713962774176dcd4daa07ec501e12310 /demos/declarative/flickr/common | |
parent | 354361bf6cd3ee9ae1600dc908d4483173fa691b (diff) | |
download | Qt-94a64a803fd268b91ff8f73522d195d9a7ed1d96.zip Qt-94a64a803fd268b91ff8f73522d195d9a7ed1d96.tar.gz Qt-94a64a803fd268b91ff8f73522d195d9a7ed1d96.tar.bz2 |
Fix scrollbar after API changes.
Diffstat (limited to 'demos/declarative/flickr/common')
-rw-r--r-- | demos/declarative/flickr/common/ScrollBar.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/declarative/flickr/common/ScrollBar.qml b/demos/declarative/flickr/common/ScrollBar.qml index 89d51e2..d31c57c 100644 --- a/demos/declarative/flickr/common/ScrollBar.qml +++ b/demos/declarative/flickr/common/ScrollBar.qml @@ -12,9 +12,9 @@ Item { border.color: "white" border.width: 2 x: 0 - y: flickableArea.pageYPosition * Container.height + y: flickableArea.visibleArea.yPosition * Container.height width: parent.width - height: flickableArea.pageHeight * Container.height + height: flickableArea.visibleArea.heightRatio * Container.height } states: [ State { |