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 property int maxWidth: parent.width - 4 * scaleRatio
width: (maxWidth * fillLevel) / 100 width: (maxWidth * fillLevel) / 100
radius: 8 radius: 8
color: { // could change color based on progressbar status; if(item.fillLevel < 99 )
if(item.fillLevel < 99 ) return "#FA6800" color: "#FA6800"
//if(item.fillLevel < 99) return "#FFE00A"
return "#36B25C"
}
} }
Rectangle { Rectangle {