QML UI: DiveList: add blue bar on the left to trip heading

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-06-20 08:29:06 -07:00
parent 684354ab6e
commit a6a9eaa998

View file

@ -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
}