on xenial help sign in
new chevron + margins
commit0b3d3cea942bf8a9367cec8216eada5e989efc0c authorLukáš Tinkl <lukas.tinkl@canonical.com> dateThu 7 Apr 2016, 13:27 (11 years ago) parentc4318e8
2 files changed+4−6
qml/Notifications/Notification.qml+4−6 qml/Notifications/arrow-down.png
qml/Notifications/Notification.qml+4−6
@@ -49,9 +49,7 @@ StyledItem {
4949 property url background: ""
5050
5151 objectName: "background"
52− implicitHeight: type !== Notification.PlaceHolder ? (fullscreen ? maxHeight :
53− outterColumn.height + margins + (state !== "contracted" ? + margins : 0))
54− : 0
52+ implicitHeight: type !== Notification.PlaceHolder ? (fullscreen ? maxHeight : outterColumn.height + 2* margins) : 0
5553
5654 // FIXME: non-zero initially because of LP: #1354406 workaround, we want this to start at 0 upon creation eventually
5755 opacity: defaultOpacity - Math.abs(x / notification.width)
@@ -307,10 +305,10 @@ StyledItem {
307305
308306 Icon {
309307 id: chevron
310− name: "go-down"
308+ source: "arrow-down.png"
311309 visible: type === Notification.SnapDecision && notification.state === "contracted"
312− width: height
313− height: units.gu(1.5)
310+ width: units.gu(3)
311+ height: units.gu(1)
314312 anchors.horizontalCenter: parent.horizontalCenter
315313 color: theme.palette.normal.base
316314 }
qml/Notifications/arrow-down.pngnew file

Binary file not shown.