diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-10-04 12:27:13 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-10-04 17:08:58 -0700 |
commit | 636904e078b814d377d6f4a087a2836ed7a0f206 (patch) | |
tree | ea8f5f75186a42667ad257549501a66e3b95a574 /mobile-widgets/qml/DiveDetails.qml | |
parent | 7f0c7eeb24ea5502acc25c08dc9807dd17d141b3 (diff) | |
download | subsurface-636904e078b814d377d6f4a087a2836ed7a0f206.tar.gz |
QML UI: make edit page scrollable
And have a tiny bit of space around it.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DiveDetails.qml')
-rw-r--r-- | mobile-widgets/qml/DiveDetails.qml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml index 7246843f8..c6243c531 100644 --- a/mobile-widgets/qml/DiveDetails.qml +++ b/mobile-widgets/qml/DiveDetails.qml @@ -234,9 +234,16 @@ Kirigami.Page { ScrollIndicator.horizontal: ScrollIndicator { } } } - - DiveDetailsEdit { - id: detailsEdit + Flickable { + id: detailsEditFlickable visible: diveDetailsPage.state != "view" ? true : false + anchors.fill: parent + leftMargin: Kirigami.Units.smallSpacing + rightMargin: Kirigami.Units.smallSpacing + contentHeight: detailsEdit.height + DiveDetailsEdit { + id: detailsEdit + } + ScrollBar.vertical: ScrollBar { } } } |