on xenial help sign in
More cleanup and fixes from MP-comments.
dd02f39Mirco Müller
qml/Notifications/Notification.qml+6−9
@@ -387,10 +387,6 @@ Item {
387 visible: index > 3
387 visible: index > 3
388 }
388 }
389
389
390− Component.onCompleted: {
391− comboIcon.name = getComboIcon(actionLabel)
392− }
393−
394 Icon {
390 Icon {
395 id: comboIcon
391 id: comboIcon
396
392
@@ -405,16 +401,17 @@ Item {
405 width: units.gu(2)
401 width: units.gu(2)
406 height: units.gu(2)
402 height: units.gu(2)
407 color: "white"
403 color: "white"
404+ name: getComboIcon(actionLabel)
408 }
405 }
409
406
410 Label {
407 Label {
411 id: comboLabel
408 id: comboLabel
412
409
410+ anchors {
413− anchors.left: comboIcon.right
411+ left: comboIcon.right
414− anchors.leftMargin: units.gu(1)
412+ leftMargin: units.gu(1)
415− anchors.verticalCenter: comboIcon.verticalCenter
413+ verticalCenter: comboIcon.verticalCenter
416− verticalAlignment: Text.AlignVCenter
414+ }
417− height: comboIcon.height
418 fontSize: "small"
415 fontSize: "small"
419 color: "white"
416 color: "white"
420 text: getComboLabel(actionLabel)
417 text: getComboLabel(actionLabel)