Browse Source

qml: BalanceSummary sync progress

master
Sander van Grieken 3 years ago
parent
commit
13e340870a
  1. 11
      electrum/gui/qml/components/controls/BalanceSummary.qml

11
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: {

Loading…
Cancel
Save