From d12752cc42918c240c6951dd1b8c29b2d6835919 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Mon, 8 May 2023 14:53:45 +0200 Subject: [PATCH] qml: add Technical properties header for TxDetails and LightningPaymentDetails --- .../components/LightningPaymentDetails.qml | 5 ++++ electrum/gui/qml/components/TxDetails.qml | 27 +++++++++++-------- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/electrum/gui/qml/components/LightningPaymentDetails.qml b/electrum/gui/qml/components/LightningPaymentDetails.qml index fa490487e..7da44ded0 100644 --- a/electrum/gui/qml/components/LightningPaymentDetails.qml +++ b/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 diff --git a/electrum/gui/qml/components/TxDetails.qml b/electrum/gui/qml/components/TxDetails.qml index 4114d2384..2421cb1c5 100644 --- a/electrum/gui/qml/components/TxDetails.qml +++ b/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