From 76544a015e0db637e1328ad66da9bef3c50f8217 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sun, 12 May 2013 23:50:43 +0200 Subject: fix scrollable again --- metawatch/qml/com/javispedro/sowatch/metawatch/MWScrollable.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'metawatch/qml') diff --git a/metawatch/qml/com/javispedro/sowatch/metawatch/MWScrollable.qml b/metawatch/qml/com/javispedro/sowatch/metawatch/MWScrollable.qml index 1a48118..3b6c44e 100644 --- a/metawatch/qml/com/javispedro/sowatch/metawatch/MWScrollable.qml +++ b/metawatch/qml/com/javispedro/sowatch/metawatch/MWScrollable.qml @@ -10,8 +10,8 @@ Flickable { boundsBehavior: Flickable.StopAtBounds flickableDirection: Flickable.VerticalFlick - contentWidth: childrenRect.width - contentHeight: childrenRect.height + contentWidth: contentItem.childrenRect.width + contentHeight: contentItem.childrenRect.height function scrollDown() { console.log(contentHeight + " " + height); @@ -41,7 +41,7 @@ Flickable { contentY = 0; } - Rectangle { + children: Rectangle { id: indicatorCont visible: flickable.indicator && (flickable.contentHeight > flickable.height) anchors.top: parent.top -- cgit v1.2.3