forked from Public/monero-gui
Keeping the progressbar color orange
This commit is contained in:
committed by
moneromooo-monero
parent
82553b0df2
commit
63132dc1db
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user