@@ -117,16 +117,20 @@ Item {
117117
118118 Item {
119119 anchors {
120− fill: progressOverlay
121− rightMargin: parent.adjustedWidth - (Math.min(100, root.progress) * parent.adjustedWidth / 100) + units.gu(1)
120+ left: parent.left
121+ top: parent.top
122+ bottom: parent.bottom
122123 }
124+ width: Math.min(100, root.progress) / 100 * parent.adjustedWidth + units.gu(1)
123125 clip: true
124126
125127 BorderImage {
126128 anchors {
127− fill: parent
128− rightMargin: -parent.anchors.rightMargin
129+ left: parent.left
130+ top: parent.top
131+ bottom: parent.bottom
129132 }
133+ width: progressOverlay.width
130134 source: "graphics/progressbar-fill.sci"
131135 }
132136 }