From 95c5b355838fbafa691a3ea74929de7bb8c93ee5 Mon Sep 17 00:00:00 2001 From: Sebastian Kügler Date: Sun, 29 Nov 2015 23:28:53 +0100 Subject: Add a bit of spacing below the dive details MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This achieves two things: - make the contents not seem crammed against the bottom - allow the user to scroll the content above the drawer icon Signed-off-by: Sebastian Kügler --- qt-mobile/qml/DiveDetails.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qt-mobile') diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml index c068ff498..7729e7fa5 100644 --- a/qt-mobile/qml/DiveDetails.qml +++ b/qt-mobile/qml/DiveDetails.qml @@ -156,6 +156,10 @@ MobileComponents.Page { wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere } } + Item { + height: MobileComponents.Units.gridUnit * 3 + width: height // just to make sure the spacer doesn't produce scrollbars, but also isn't null + } } } } -- cgit v1.2.3-70-g09d2