mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-03-22 23:28:45 +00:00
Keeping the progressbar color orange
This commit is contained in:
parent
82553b0df2
commit
63132dc1db
1 changed files with 2 additions and 6 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue