summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-10-27 14:29:23 +0200
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2017-10-27 19:28:42 +0200
commit6bd5312dfa9e54fa05c231a671af666e1ffa4dad (patch)
tree12fa6bd764a12bcede9c633a9342e8b476394e7d /mobile-widgets
parentf25cc3a67f63e70464c5296cb9423442e4f29a22 (diff)
downloadsubsurface-6bd5312dfa9e54fa05c231a671af666e1ffa4dad.tar.gz
QML UI: prevent full overflow of bottom buttons
A not perfect improvement, but way better IMHO. Prevent the list of downloaded dives to grow over the buttons at the bottom. Just a simple change by adding a bottomMargin to the list. Notice that there is still some overlap, but for now I consider this a trade-off between the scarce screen real-estate and the wish to present and much as possible dowloaded dives. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml
index 9d11167d9..e80f67e5f 100644
--- a/mobile-widgets/qml/DownloadFromDiveComputer.qml
+++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml
@@ -224,6 +224,7 @@ Kirigami.Page {
top: buttonBar.bottom
topMargin: Kirigami.Units.smallSpacing * 4
}
+ Layout.bottomMargin: bottomButtons.height * 1.5
Layout.fillWidth: true
Layout.fillHeight: true
@@ -243,6 +244,7 @@ Kirigami.Page {
}
RowLayout {
+ id: bottomButtons
Layout.fillWidth: true
Controls.Label {
text: "" // Spacer on the left for hamburger menu