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 {
|
||||||
|
width: parent.width * 0.6
|
||||||
|
anchors.right: parent.right
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
height:2
|
||||||
|
color: Material.accent
|
||||||
|
}
|
||||||
|
|
||||||
|
Label {
|
||||||
|
padding: 4
|
||||||
text: section
|
text: section
|
||||||
color: "grey"
|
color: Material.accent
|
||||||
padding: 16
|
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
background: Rectangle {
|
|
||||||
anchors.fill: parent
|
|
||||||
anchors.margins: 4
|
|
||||||
color: Material.theme == Material.Light ? "#dbdbdb" : "#363636"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue