From 13e340870af4f3c57c9f83c2e9eec99b51f6d493 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Thu, 2 Feb 2023 00:11:37 +0100 Subject: [PATCH] qml: BalanceSummary sync progress --- .../gui/qml/components/controls/BalanceSummary.qml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/electrum/gui/qml/components/controls/BalanceSummary.qml b/electrum/gui/qml/components/controls/BalanceSummary.qml index e3c9ffb92..f92d458e4 100644 --- a/electrum/gui/qml/components/controls/BalanceSummary.qml +++ b/electrum/gui/qml/components/controls/BalanceSummary.qml @@ -25,9 +25,12 @@ Item { TextHighlightPane { id: balancePane + leftPadding: constants.paddingXLarge + rightPadding: constants.paddingXLarge GridLayout { columns: 3 + opacity: Daemon.currentWallet.synchronizing ? 0 : 1 Label { font.pixelSize: constants.fontSizeXLarge @@ -112,6 +115,14 @@ Item { } + Label { + opacity: Daemon.currentWallet.synchronizing ? 1 : 0 + anchors.centerIn: balancePane + text: Daemon.currentWallet.synchronizingProgress + color: Material.accentColor + font.pixelSize: constants.fontSizeLarge + } + MouseArea { anchors.fill: balancePane onClicked: {