Fixes a bug where progress bars were not 100% filled visually (slightly off)

This commit is contained in:
Sander Ferdinand 2018-04-05 11:56:44 +02:00
parent 76a105261e
commit 4a96678580

View file

@ -100,7 +100,7 @@ Rectangle {
anchors.bottom: parent.bottom
anchors.left: parent.left
height: bar.height
property int maxWidth: bar.width - 4 * scaleRatio
property int maxWidth: bar.width * scaleRatio
width: (maxWidth * fillLevel) / 100
radius: 8
// could change color based on progressbar status; if(item.fillLevel < 99 )