From 8d63cd41b6d521bf64b50c9a94482b77a3e83170 Mon Sep 17 00:00:00 2001 From: Sven Fischer Date: Sat, 20 Dec 2025 22:20:23 +0100 Subject: feat: add openExpanded notif config option (#993) If set in the configuration, the notifications are opened in the expanded state, displaying the full notification text. --- modules/notifications/Notification.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/notifications') diff --git a/modules/notifications/Notification.qml b/modules/notifications/Notification.qml index 95507fc..b5376cf 100644 --- a/modules/notifications/Notification.qml +++ b/modules/notifications/Notification.qml @@ -18,7 +18,7 @@ StyledRect { readonly property bool hasImage: modelData.image.length > 0 readonly property bool hasAppIcon: modelData.appIcon.length > 0 readonly property int nonAnimHeight: summary.implicitHeight + (root.expanded ? appName.height + body.height + actions.height + actions.anchors.topMargin : bodyPreview.height) + inner.anchors.margins * 2 - property bool expanded + property bool expanded: Config.notifs.openExpanded color: root.modelData.urgency === NotificationUrgency.Critical ? Colours.palette.m3secondaryContainer : Colours.tPalette.m3surfaceContainer radius: Appearance.rounding.normal -- cgit v1.2.3-freya