1
0

qml: move balance from drawer to history listview header

This commit is contained in:
Sander van Grieken
2022-11-28 13:12:07 +01:00
parent 535754363e
commit 4fb010da1a
3 changed files with 50 additions and 213 deletions

View File

@@ -26,6 +26,20 @@ Pane {
model: visualModel
header: Item {
width: parent.width
height: headerLayout.height
ColumnLayout {
id: headerLayout
anchors.centerIn: parent
BalanceSummary {
Layout.topMargin: constants.paddingXLarge
Layout.bottomMargin: constants.paddingXLarge
}
}
}
headerPositioning: ListView.InlineHeader
readonly property variant sectionLabels: {
'local': qsTr('Local'),
'mempool': qsTr('Mempool'),