on xenial help sign in
There's no need for the adjusted width anymore for the new progress-bar visuals.
commitd60a11568afe18592af5e56b0372ad5086cb7bf5 authorMirco Müller <mirco.mueller@canonical.com> dateFri 17 Jul 2015, 13:43 (11 years ago) parente5e6f17
1 file changed+1−2
qml/Launcher/LauncherDelegate.qml+1−2
qml/Launcher/LauncherDelegate.qml+1−2
@@ -113,7 +113,6 @@ Item {
113113 }
114114 height: units.gu(1)
115115 visible: root.progress > -1
116− property int adjustedWidth: width - units.gu(2)
117116 color: UbuntuColors.darkGrey
118117 borderSource: "none"
119118
@@ -123,7 +122,7 @@ Item {
123122 top: parent.top
124123 bottom: parent.bottom
125124 }
126− width: Math.min(100, root.progress) / 100 * parent.adjustedWidth + units.gu(1)
125+ width: Math.min(100, root.progress) / 100 * parent.width
127126 clip: true
128127
129128 UbuntuShape {