Browse Source

qml: add Technical properties header for TxDetails and LightningPaymentDetails

master
Sander van Grieken 3 years ago
parent
commit
d12752cc42
  1. 5
      electrum/gui/qml/components/LightningPaymentDetails.qml
  2. 27
      electrum/gui/qml/components/TxDetails.qml

5
electrum/gui/qml/components/LightningPaymentDetails.qml

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

27
electrum/gui/qml/components/TxDetails.qml

@ -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

Loading…
Cancel
Save