From 6bd5312dfa9e54fa05c231a671af666e1ffa4dad Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Fri, 27 Oct 2017 14:29:23 +0200 Subject: 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 --- mobile-widgets/qml/DownloadFromDiveComputer.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mobile-widgets') 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 -- cgit v1.2.3-70-g09d2