mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-17 23:36:16 +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 {
|
||||
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 {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue