aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-20 09:25:07 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-20 09:25:07 -0700
commit712d1e97f37600858ed2534ae097cb3d9b060e9b (patch)
treeaf029f85f88f6e51efd4d453fa157687b131553d
parentedd0d2f2bbc0d65142ecbcbaf184847d26571fa3 (diff)
downloadsubsurface-712d1e97f37600858ed2534ae097cb3d9b060e9b.tar.gz
QML UI: DiveList: remove space below trip heading
That made sense before we had the shaded background, now it just looks terrible. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qml/DiveList.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index 379dbf952..1b5eaaf42 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -156,7 +156,7 @@ Kirigami.ScrollablePage {
id: tripHeading
Item {
width: page.width - Kirigami.Units.gridUnit
- height: childrenRect.height + Kirigami.Units.smallSpacing * 2 + Math.max(2, Kirigami.Units.gridUnit / 2)
+ height: childrenRect.height - Kirigami.Units.smallSpacing
Rectangle {
id: leftBar
height: section == "" ? 0 : headingBackground.height