diff options
| author | Sander Ferdinand <sa.ferdinand@gmail.com> | 2017-11-23 17:35:46 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-29 23:04:01 +0100 |
| commit | 63132dc1db02b099de32ea494696aee5f61e0d1d (patch) | |
| tree | b28947c5fdf55bcb3034c8c5a7f91766e3126650 | |
| parent | 82553b0df20e1597fec83b72fcc8799477e762ae (diff) | |
| download | monzero-gui-63132dc1db02b099de32ea494696aee5f61e0d1d.tar.gz monzero-gui-63132dc1db02b099de32ea494696aee5f61e0d1d.tar.xz monzero-gui-63132dc1db02b099de32ea494696aee5f61e0d1d.zip | |
Keeping the progressbar color orange
| -rw-r--r-- | components/ProgressBar.qml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/components/ProgressBar.qml b/components/ProgressBar.qml index e6e571e0..4b415051 100644 --- a/components/ProgressBar.qml +++ b/components/ProgressBar.qml @@ -101,12 +101,8 @@ Rectangle { property int maxWidth: parent.width - 4 * scaleRatio width: (maxWidth * fillLevel) / 100 radius: 8 - color: { - if(item.fillLevel < 99 ) return "#FA6800" - //if(item.fillLevel < 99) return "#FFE00A" - return "#36B25C" - } - + // could change color based on progressbar status; if(item.fillLevel < 99 ) + color: "#FA6800" } Rectangle { |
