Merge pull request #1272

4a96678 Fixes a bug where progress bars were not 100% filled visually (slightly off)
This commit is contained in:
luigi1111 2018-04-08 17:42:39 -05:00
commit 11e3380ab1
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

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 )