on xenial help sign in
fix count emblem width
commit5da3acb627a908a2f0a335a48c5d3c47cfd82cba authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 21 Aug 2013, 18:07 (13 years ago) parentf7ce847
1 file changed+2−2
Launcher/LauncherDelegate.qml+2−2
Launcher/LauncherDelegate.qml+2−2
@@ -80,7 +80,7 @@ Item {
8080 top: parent.top
8181 margins: -units.dp(1)
8282 }
83− width: Math.min(units.gu(7.5), Math.max(units.gu(3), countLabel.implicitWidth + units.gu(2.5)))
83+ width: Math.min(root.itemWidth, Math.max(units.gu(3), countLabel.implicitWidth + units.gu(2.5)))
8484 height: units.gu(3)
8585 source: "graphics/notification.sci"
8686 visible: root.count > 0
@@ -89,7 +89,7 @@ Item {
8989 id: countLabel
9090 text: root.count
9191 anchors.centerIn: parent
92− width: units.gu(6)
92+ width: root.itemWidth - units.gu(1)
9393 horizontalAlignment: Text.AlignHCenter
9494 elide: Text.ElideRight
9595 color: "white"