aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-21 09:55:03 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-21 09:55:03 -0700
commitc775fcebec909e806e1a0abadb9fc9c0accf2938 (patch)
tree141547d1a5d4f3f77c7629aff0fc982c1bf0ef16 /mobile-widgets
parentfc4153f8acddf622024aaa5cbc06613717dc7ef2 (diff)
downloadsubsurface-c775fcebec909e806e1a0abadb9fc9c0accf2938.tar.gz
QML UI: DiveList: turn the color blob into a thin line
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/DiveList.qml12
1 files changed, 5 insertions, 7 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index 2e4bd397c..a03a792a9 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -53,17 +53,15 @@ Kirigami.ScrollablePage {
Item {
Rectangle {
id: leftBarDive
- width: dive.tripMeta == "" ? 0 : Kirigami.Units.gridUnit
- height: Kirigami.Units.gridUnit
+ width: dive.tripMeta == "" ? 0 : Kirigami.Units.smallSpacing
+ height: diveListEntry.height * 0.8
color: subsurfaceTheme.accentColor
- antialiasing: true
- radius: Kirigami.Units.smallSpacing * 2
anchors {
left: parent.left
top: parent.top
- topMargin: Kirigami.Units.gridUnit
- bottomMargin: Kirigami.Units.gridUnit
- leftMargin: Kirigami.Units.smallSpacing * 2
+ leftMargin: Kirigami.Units.smallSpacing
+ topMargin: Kirigami.Units.smallSpacing * 2
+ bottomMargin: Kirigami.Units.smallSpacing * 2
}
}
Item {