mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
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:
parent
684354ab6e
commit
a6a9eaa998
1 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue