qml: BalanceSummary sync progress
This commit is contained in:
@@ -25,9 +25,12 @@ Item {
|
|||||||
|
|
||||||
TextHighlightPane {
|
TextHighlightPane {
|
||||||
id: balancePane
|
id: balancePane
|
||||||
|
leftPadding: constants.paddingXLarge
|
||||||
|
rightPadding: constants.paddingXLarge
|
||||||
|
|
||||||
GridLayout {
|
GridLayout {
|
||||||
columns: 3
|
columns: 3
|
||||||
|
opacity: Daemon.currentWallet.synchronizing ? 0 : 1
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
font.pixelSize: constants.fontSizeXLarge
|
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 {
|
MouseArea {
|
||||||
anchors.fill: balancePane
|
anchors.fill: balancePane
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|||||||
Reference in New Issue
Block a user