mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 03:42:05 +02:00
Fixes a bug where progress bars were not 100% filled visually (slightly off)
This commit is contained in:
parent
76a105261e
commit
4a96678580
@ -100,7 +100,7 @@ Rectangle {
|
|||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
height: bar.height
|
height: bar.height
|
||||||
property int maxWidth: bar.width - 4 * scaleRatio
|
property int maxWidth: bar.width * scaleRatio
|
||||||
width: (maxWidth * fillLevel) / 100
|
width: (maxWidth * fillLevel) / 100
|
||||||
radius: 8
|
radius: 8
|
||||||
// could change color based on progressbar status; if(item.fillLevel < 99 )
|
// could change color based on progressbar status; if(item.fillLevel < 99 )
|
||||||
|
Loading…
Reference in New Issue
Block a user