1
0

qml: show balance summary on top

This commit is contained in:
Sander van Grieken
2022-10-04 10:40:09 +02:00
parent ff5ba7cca4
commit b4d13ffb41
2 changed files with 108 additions and 68 deletions

View File

@@ -26,6 +26,19 @@ Pane {
model: visualModel
header: Item {
width: parent.width
height: headerLayout.height
ColumnLayout {
id: headerLayout
anchors.centerIn: parent
Item { height: constants.paddingXLarge; width: 1 }
BalanceSummary {}
Item { height: constants.paddingXLarge; width: 1 }
}
}
headerPositioning: ListView.InlineHeader
readonly property variant sectionLabels: {
'today': qsTr('Today'),
'yesterday': qsTr('Yesterday'),