diff options
| author | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-03-20 18:55:53 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-29 23:04:03 +0100 |
| commit | 09935ba4b07e222fcc224110884976876e255baa (patch) | |
| tree | f66f1cbe5cf0ca373438e0bf0222f2e1663646e9 | |
| parent | 3ba4224b69b5153d6d196ad1859ff63a26c399c0 (diff) | |
| download | monzero-gui-09935ba4b07e222fcc224110884976876e255baa.tar.gz monzero-gui-09935ba4b07e222fcc224110884976876e255baa.tar.xz monzero-gui-09935ba4b07e222fcc224110884976876e255baa.zip | |
Fixes duplicate id
| -rw-r--r-- | components/ProgressBar.qml | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/components/ProgressBar.qml b/components/ProgressBar.qml index 4b415051..f9bb315f 100644 --- a/components/ProgressBar.qml +++ b/components/ProgressBar.qml @@ -65,8 +65,8 @@ Rectangle { font.pixelSize: 13 * scaleRatio font.bold: true color: "white" - text: qsTr("Synchronizing blocks") - height:18 * scaleRatio + text: qsTr("Synchronizing %1").arg(syncType) + height: 18 * scaleRatio } Text { @@ -98,7 +98,7 @@ Rectangle { anchors.bottom: parent.bottom anchors.left: parent.left height: bar.height - property int maxWidth: parent.width - 4 * scaleRatio + property int maxWidth: bar.width - 4 * scaleRatio width: (maxWidth * fillLevel) / 100 radius: 8 // could change color based on progressbar status; if(item.fillLevel < 99 ) @@ -110,16 +110,6 @@ Rectangle { anchors.bottom: parent.bottom anchors.left: parent.left anchors.leftMargin: 8 * scaleRatio - - Text { - id:progressText - anchors.bottom: parent.bottom - font.family: "Arial" - font.pixelSize: 12 * scaleRatio - color: "#000" - text: qsTr("Synchronizing %1").arg(syncType) - height:18 * scaleRatio - } } } |
