aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Sebastian Kügler <sebas@kde.org>2015-11-29 23:28:53 +0100
committerGravatar Sebastian Kügler <sebas@kde.org>2015-11-29 23:58:49 +0100
commit95c5b355838fbafa691a3ea74929de7bb8c93ee5 (patch)
tree92d1a68c82d9c8452181a96ffdca51146211ea06 /qt-mobile
parent8e523329b686023d4ca69226daa5bf079035a02b (diff)
downloadsubsurface-95c5b355838fbafa691a3ea74929de7bb8c93ee5.tar.gz
Add a bit of spacing below the dive details
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 <sebas@kde.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/qml/DiveDetails.qml4
1 files changed, 4 insertions, 0 deletions
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
+ }
}
}
}