on xenial help sign in
change launcher count emblem to match new spec
commit2971ca3514ec229903f1e4391f87d7aee3a210db authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 16 Jul 2014, 13:00 (12 years ago) parente5f85b8
3 files changed+5−11
qml/Launcher/LauncherDelegate.qml+5−6 qml/Launcher/graphics/notification@30.png qml/Launcher/graphics/notification@30.sci−5
qml/Launcher/LauncherDelegate.qml+5−6
@@ -70,16 +70,16 @@ Item {
7070 height: root.itemHeight - units.gu(1)
7171 }
7272
73− BorderImage {
73+ UbuntuShape {
7474 objectName: "countEmblem"
7575 anchors {
7676 right: parent.right
7777 top: parent.top
7878 margins: units.dp(3)
7979 }
80− width: Math.min(root.itemWidth, Math.max(units.gu(3), countLabel.implicitWidth + units.gu(2.5)))
81− height: units.gu(3)
82− source: "graphics/notification.sci"
80+ width: Math.min(root.itemWidth, Math.max(units.gu(2), countLabel.implicitWidth + units.gu(1)))
81+ height: units.gu(2)
82+ color: UbuntuColors.orange
8383 visible: root.count > 0
8484
8585 Label {
@@ -90,8 +90,7 @@ Item {
9090 horizontalAlignment: Text.AlignHCenter
9191 elide: Text.ElideRight
9292 color: "white"
93− fontSize: "small"
94− font.bold: true
93+ fontSize: "x-small"
9594 }
9695 }
9796
qml/Launcher/graphics/notification@30.pngdeleted

Binary file not shown.

qml/Launcher/graphics/notification@30.scideleted−5
@@ -1,5 +0,0 @@
1−border.left: 36
2−border.top: 36
3−border.bottom: 36
4−border.right: 36
5−source: notification@30.png