summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-17 14:54:57 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-20 10:51:18 -0800
commit791daa67b1205ba0919e2a0fa6129ca7c5e4121d (patch)
tree7ddb1884f9b7146bb923a07144cc7a8e2da77d1c /mobile-widgets
parent3ecedbf018da3c52cc80b284b4ab96b0e1105444 (diff)
downloadsubsurface-791daa67b1205ba0919e2a0fa6129ca7c5e4121d.tar.gz
mobile/UI: remove the thick line between trips
This took up a lot of space and made the UI look stodgy. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/DiveList.qml13
1 files changed, 1 insertions, 12 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index d6177cb19..71daf19fe 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -45,7 +45,7 @@ Kirigami.ScrollablePage {
left: parent.left
right: parent.right
}
- height: (isTrip ? 9 : 11) * Kirigami.Units.smallSpacing // delegateInnerItem.height
+ height: isTrip ? 1 + 8 * Kirigami.Units.smallSpacing : 11 * Kirigami.Units.smallSpacing // delegateInnerItem.height
onSelectedChanged: {
console.log("index " + index + " select changed to " + selected)
@@ -135,17 +135,6 @@ Kirigami.ScrollablePage {
color: subsurfaceTheme.lightPrimaryTextColor
}
}
- Rectangle {
- id: headingBottomLine
- height: visible ? Kirigami.Units.smallSpacing : 0
- visible: headingBackground.visible
- anchors {
- left: parent.left
- right: parent.right
- top: headingBackground.bottom
- }
- color: "#B2B2B2"
- }
Rectangle {
id: diveBackground