From 94a64a803fd268b91ff8f73522d195d9a7ed1d96 Mon Sep 17 00:00:00 2001 From: Yann Bodson Date: Mon, 7 Sep 2009 10:23:25 +1000 Subject: Fix scrollbar after API changes. --- demos/declarative/flickr/common/ScrollBar.qml | 4 ++-- 1 file 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 { -- cgit v0.12