Add section footer.
This commit is contained in:
parent
4ce12331d1
commit
c418c46f04
|
@ -98,16 +98,21 @@ Item {
|
||||||
|
|
||||||
section.property: "section"
|
section.property: "section"
|
||||||
section.criteria: ViewSection.FullString
|
section.criteria: ViewSection.FullString
|
||||||
section.delegate: Label {
|
section.delegate: RowLayout {
|
||||||
text: section
|
width: parent.width * 0.6
|
||||||
color: "grey"
|
anchors.right: parent.right
|
||||||
padding: 16
|
|
||||||
verticalAlignment: Text.AlignVCenter
|
Rectangle {
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
Layout.fillWidth: true
|
||||||
background: Rectangle {
|
height:2
|
||||||
anchors.fill: parent
|
color: Material.accent
|
||||||
anchors.margins: 4
|
}
|
||||||
color: Material.theme == Material.Light ? "#dbdbdb" : "#363636"
|
|
||||||
|
Label {
|
||||||
|
padding: 4
|
||||||
|
text: section
|
||||||
|
color: Material.accent
|
||||||
|
verticalAlignment: Text.AlignVCenter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue