From 9dfb195913a0062a7d493d0128ebd50d86b5e493 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 19 Sep 2025 22:43:50 +1000 Subject: sidebar/notifs: add actions (#648) * add actions (not done, transfer between machines) * notifs: fix persistence * notifs: persist actions (appearance only) * sidebar/notifs: add actions * sidebar/notifs: add copy action Also actions fill width * sidebar/notifs: better actions Fade at edges when scrollable * sidebar/notifs: fix urgency colours & icon * sidebar/notifs: remove unnecessary clipping * sidebar/notifs: fix artifacts with actions --- modules/sidebar/Notif.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/sidebar/Notif.qml') diff --git a/modules/sidebar/Notif.qml b/modules/sidebar/Notif.qml index 3aecc59..6d930b9 100644 --- a/modules/sidebar/Notif.qml +++ b/modules/sidebar/Notif.qml @@ -106,7 +106,7 @@ StyledRect { anchors.topMargin: Appearance.spacing.small / 2 sourceComponent: ColumnLayout { - spacing: Math.floor(Appearance.spacing.small / 2) + spacing: Appearance.spacing.smaller StyledText { Layout.fillWidth: true @@ -115,6 +115,10 @@ StyledRect { color: root.modelData.urgency === "critical" ? Colours.palette.m3secondary : Colours.palette.m3outline wrapMode: Text.WordWrap } + + NotifActionList { + notif: root.modelData + } } } -- cgit v1.2.3-freya