mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
672b11d804
commit
d719ef3a70
1 changed files with 5 additions and 3 deletions
|
@ -157,7 +157,7 @@ MobileComponents.Page {
|
||||||
ScrollView {
|
ScrollView {
|
||||||
id: outerScrollView
|
id: outerScrollView
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
opacity: 0.8 - startPage.opacity
|
opacity: 0.8 - startPageWrapper.opacity
|
||||||
visible: opacity > 0
|
visible: opacity > 0
|
||||||
ListView {
|
ListView {
|
||||||
id: diveListView
|
id: diveListView
|
||||||
|
@ -183,11 +183,13 @@ MobileComponents.Page {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
StartPage {
|
ScrollView {
|
||||||
id: startPage
|
id: startPageWrapper
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
opacity: (credentialStatus == QMLManager.VALID || credentialStatus == QMLManager.VALID_EMAIL) ? 0 : 1
|
opacity: (credentialStatus == QMLManager.VALID || credentialStatus == QMLManager.VALID_EMAIL) ? 0 : 1
|
||||||
visible: opacity > 0
|
visible: opacity > 0
|
||||||
Behavior on opacity { NumberAnimation { duration: MobileComponents.Units.shortDuration } }
|
Behavior on opacity { NumberAnimation { duration: MobileComponents.Units.shortDuration } }
|
||||||
|
StartPage {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue