notifcenter: indent notifications under group header with vertical connector line
This commit is contained in:
parent
7f0df9eb47
commit
23c70619d8
1 changed files with 14 additions and 0 deletions
|
|
@ -410,10 +410,24 @@ M.HoverPanel {
|
|||
}
|
||||
|
||||
// ---- Individual notification ----
|
||||
|
||||
// Vertical connector line — visually ties notifs to their group header
|
||||
Rectangle {
|
||||
visible: notifDelegate._type === "notif"
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: 3
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: parent.bottom
|
||||
width: 2
|
||||
color: M.Theme.base02
|
||||
radius: 1
|
||||
}
|
||||
|
||||
M.NotifCard {
|
||||
id: _notifCard
|
||||
visible: notifDelegate._type === "notif"
|
||||
anchors.fill: parent
|
||||
anchors.leftMargin: 8
|
||||
notif: notifDelegate._notif
|
||||
showAppName: false
|
||||
iconSize: 24
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue