From d719ef3a7067516f34835155da3f18d87e598a34 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 11 Feb 2016 06:55:27 -0800 Subject: QML UI: make the start page scrollable This doesn't quite work yet as the start page appears to miscalculate its height (the cloud credentials page appears to be missing). Signed-off-by: Dirk Hohndel --- qt-mobile/qml/DiveList.qml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'qt-mobile/qml') diff --git a/qt-mobile/qml/DiveList.qml b/qt-mobile/qml/DiveList.qml index 45644c2d3..8245f4d02 100644 --- a/qt-mobile/qml/DiveList.qml +++ b/qt-mobile/qml/DiveList.qml @@ -157,7 +157,7 @@ MobileComponents.Page { ScrollView { id: outerScrollView anchors.fill: parent - opacity: 0.8 - startPage.opacity + opacity: 0.8 - startPageWrapper.opacity visible: opacity > 0 ListView { id: diveListView @@ -183,11 +183,13 @@ MobileComponents.Page { } } } - StartPage { - id: startPage + ScrollView { + id: startPageWrapper anchors.fill: parent opacity: (credentialStatus == QMLManager.VALID || credentialStatus == QMLManager.VALID_EMAIL) ? 0 : 1 visible: opacity > 0 Behavior on opacity { NumberAnimation { duration: MobileComponents.Units.shortDuration } } + StartPage { + } } } -- cgit v1.2.3-70-g09d2