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

pull/2/head
Sander Ferdinand 6 years ago
parent 76a105261e
commit 4a96678580

@ -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 )