1
0

qml: add Technical properties header for TxDetails and LightningPaymentDetails

This commit is contained in:
Sander van Grieken
2023-05-08 14:53:45 +02:00
parent 209c9f75e0
commit d12752cc42
2 changed files with 21 additions and 11 deletions

View File

@@ -132,6 +132,11 @@ Pane {
}
}
Heading {
Layout.columnSpan: 2
text: qsTr('Technical properties')
}
Label {
Layout.columnSpan: 2
Layout.topMargin: constants.paddingSmall

View File

@@ -151,17 +151,6 @@ Pane {
text: txdetails.date
}
Label {
visible: txdetails.isMined
text: qsTr('Mined at')
color: Material.accentColor
}
Label {
visible: txdetails.isMined
text: txdetails.shortId
}
Label {
Layout.columnSpan: 2
Layout.topMargin: constants.paddingSmall
@@ -224,6 +213,22 @@ Pane {
}
}
Heading {
Layout.columnSpan: 2
text: qsTr('Technical properties')
}
Label {
visible: txdetails.isMined
text: qsTr('Mined at')
color: Material.accentColor
}
Label {
visible: txdetails.isMined
text: txdetails.shortId
}
Label {
Layout.columnSpan: 2
Layout.topMargin: constants.paddingSmall