on xenial help sign in
There's no need for the adjusted width anymore for the new progress-bar visuals.
d60a115Mirco Müller
qml/Launcher/LauncherDelegate.qml+1−2
@@ -113,7 +113,6 @@ Item {
113 }
113 }
114 height: units.gu(1)
114 height: units.gu(1)
115 visible: root.progress > -1
115 visible: root.progress > -1
116− property int adjustedWidth: width - units.gu(2)
117 color: UbuntuColors.darkGrey
116 color: UbuntuColors.darkGrey
118 borderSource: "none"
117 borderSource: "none"
119
118
@@ -123,7 +122,7 @@ Item {
123 top: parent.top
122 top: parent.top
124 bottom: parent.bottom
123 bottom: parent.bottom
125 }
124 }
126− width: Math.min(100, root.progress) / 100 * parent.adjustedWidth + units.gu(1)
125+ width: Math.min(100, root.progress) / 100 * parent.width
127 clip: true
126 clip: true
128
127
129 UbuntuShape {
128 UbuntuShape {