From a6a9eaa998cd33bd8c08e8fe9fa78849e66d45e3 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 20 Jun 2017 08:29:06 -0700 Subject: QML UI: DiveList: add blue bar on the left to trip heading Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveList.qml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'mobile-widgets/qml') diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index ec5f71a1d..857a84c35 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -153,11 +153,20 @@ Kirigami.ScrollablePage { Item { width: page.width - Kirigami.Units.gridUnit height: childrenRect.height + Kirigami.Units.smallSpacing * 2 + Math.max(2, Kirigami.Units.gridUnit / 2) + Rectangle { + id: leftBar + height: headingBackground.height + width: Kirigami.Units.gridUnit * 1 + color: subsurfaceTheme.accentColor + anchors { + left: parent.left + } + } Rectangle { id: headingBackground height: Kirigami.Units.gridUnit * 3 anchors { - left: parent.left + left: leftBar.right right: parent.right rightMargin: Kirigami.Units.gridUnit * -2 } -- cgit v1.2.3-70-g09d2