Keeping the progressbar color orange

This commit is contained in:
Sander Ferdinand 2017-11-23 17:35:46 +01:00 committed by moneromooo-monero
parent 82553b0df2
commit 63132dc1db

View file

@ -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 {