on xenial help sign in
new chevron + margins
0b3d3ceLukáš Tinkl
qml/Notifications/Notification.qml+4−6
@@ -49,9 +49,7 @@ StyledItem {
49 property url background: ""
49 property url background: ""
50
50
51 objectName: "background"
51 objectName: "background"
52− implicitHeight: type !== Notification.PlaceHolder ? (fullscreen ? maxHeight :
52+ implicitHeight: type !== Notification.PlaceHolder ? (fullscreen ? maxHeight : outterColumn.height + 2* margins) : 0
53− outterColumn.height + margins + (state !== "contracted" ? + margins : 0))
54− : 0
55
53
56 // FIXME: non-zero initially because of LP: #1354406 workaround, we want this to start at 0 upon creation eventually
54 // FIXME: non-zero initially because of LP: #1354406 workaround, we want this to start at 0 upon creation eventually
57 opacity: defaultOpacity - Math.abs(x / notification.width)
55 opacity: defaultOpacity - Math.abs(x / notification.width)
@@ -307,10 +305,10 @@ StyledItem {
307
305
308 Icon {
306 Icon {
309 id: chevron
307 id: chevron
310− name: "go-down"
308+ source: "arrow-down.png"
311 visible: type === Notification.SnapDecision && notification.state === "contracted"
309 visible: type === Notification.SnapDecision && notification.state === "contracted"
312− width: height
310+ width: units.gu(3)
313− height: units.gu(1.5)
311+ height: units.gu(1)
314 anchors.horizontalCenter: parent.horizontalCenter
312 anchors.horizontalCenter: parent.horizontalCenter
315 color: theme.palette.normal.base
313 color: theme.palette.normal.base
316 }
314 }
qml/Notifications/arrow-down.pngnew file

Binary file not shown.