1
0

qml: define a common Heading component for page section headings

This commit is contained in:
Sander van Grieken
2023-01-17 00:34:01 +01:00
parent aac0e4f693
commit b7964253a8
12 changed files with 56 additions and 154 deletions

View File

@@ -63,25 +63,8 @@ Pane {
width: parent.width
spacing: constants.paddingLarge
RowLayout {
Label {
text: qsTr('Wallet:')
font.pixelSize: constants.fontSizeLarge
color: Material.accentColor
}
Label {
text: Daemon.currentWallet.name;
font.bold: true
font.pixelSize: constants.fontSizeLarge
Layout.fillWidth: true
}
}
Rectangle {
Layout.fillWidth: true
height: 1
color: Material.accentColor
Heading {
text: qsTr('Wallet details')
}
GridLayout {