@@ -117,16 +117,20 @@ Item {
119 anchors {
119 anchors {
120− fill: progressOverlay
120+ left: parent.left
121− rightMargin: parent.adjustedWidth - (Math.min(100, root.progress) * parent.adjustedWidth / 100) + units.gu(1)
121+ top: parent.top
122+ bottom: parent.bottom
124+ width: Math.min(100, root.progress) / 100 * parent.adjustedWidth + units.gu(1)
123 clip: true
125 clip: true
125 BorderImage {
127 BorderImage {
126 anchors {
128 anchors {
127− fill: parent
129+ left: parent.left
128− rightMargin: -parent.anchors.rightMargin
130+ top: parent.top
131+ bottom: parent.bottom
133+ width: progressOverlay.width
130 source: "graphics/progressbar-fill.sci"
134 source: "graphics/progressbar-fill.sci"