on xenial help sign in
change launcher count emblem to match new spec
2971ca3Michael Zanetti
qml/Launcher/LauncherDelegate.qml+5−6
@@ -70,16 +70,16 @@ Item {
70 height: root.itemHeight - units.gu(1)
70 height: root.itemHeight - units.gu(1)
71 }
71 }
72
72
73− BorderImage {
73+ UbuntuShape {
74 objectName: "countEmblem"
74 objectName: "countEmblem"
75 anchors {
75 anchors {
76 right: parent.right
76 right: parent.right
77 top: parent.top
77 top: parent.top
78 margins: units.dp(3)
78 margins: units.dp(3)
79 }
79 }
80− width: Math.min(root.itemWidth, Math.max(units.gu(3), countLabel.implicitWidth + units.gu(2.5)))
80+ width: Math.min(root.itemWidth, Math.max(units.gu(2), countLabel.implicitWidth + units.gu(1)))
81− height: units.gu(3)
81+ height: units.gu(2)
82− source: "graphics/notification.sci"
82+ color: UbuntuColors.orange
83 visible: root.count > 0
83 visible: root.count > 0
84
84
85 Label {
85 Label {
@@ -90,8 +90,7 @@ Item {
90 horizontalAlignment: Text.AlignHCenter
90 horizontalAlignment: Text.AlignHCenter
91 elide: Text.ElideRight
91 elide: Text.ElideRight
92 color: "white"
92 color: "white"
93− fontSize: "small"
93+ fontSize: "x-small"
94− font.bold: true
95 }
94 }
96 }
95 }
97
96
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