summaryrefslogtreecommitdiffstats
path: root/demos/declarative/flickr/common
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-09-07 00:23:25 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-09-07 00:23:25 (GMT)
commit94a64a803fd268b91ff8f73522d195d9a7ed1d96 (patch)
tree1bb516bd713962774176dcd4daa07ec501e12310 /demos/declarative/flickr/common
parent354361bf6cd3ee9ae1600dc908d4483173fa691b (diff)
downloadQt-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.qml4
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 {