diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-02-11 06:55:27 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-02-11 10:04:44 -0800 |
commit | d719ef3a7067516f34835155da3f18d87e598a34 (patch) | |
tree | 03eada0c88a4dfa5dfd68d5dee042c9360d899fb /qt-mobile/qml/DiveList.qml | |
parent | 672b11d80452b7aa5ac8dba89caf32dc39580522 (diff) | |
download | subsurface-d719ef3a7067516f34835155da3f18d87e598a34.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/DiveList.qml')
-rw-r--r-- | qt-mobile/qml/DiveList.qml | 8 |
1 files changed, 5 insertions, 3 deletions
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 { + } } } |