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>
This commit is contained in:
Dirk Hohndel 2016-02-11 06:55:27 -08:00
parent 672b11d804
commit d719ef3a70

View file

@ -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 {
}
}
}