diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-06-20 08:29:06 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-20 08:29:06 -0700 |
commit | a6a9eaa998cd33bd8c08e8fe9fa78849e66d45e3 (patch) | |
tree | f63c2aa83848eafb57692c8fbb7469c9929e6c4b /mobile-widgets | |
parent | 684354ab6ec778f05e62a935faddb6be14275743 (diff) | |
download | subsurface-a6a9eaa998cd33bd8c08e8fe9fa78849e66d45e3.tar.gz |
QML UI: DiveList: add blue bar on the left to trip heading
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 11 |
1 files changed, 10 insertions, 1 deletions
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 @@ -154,10 +154,19 @@ Kirigami.ScrollablePage { 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 } |