From 7e9c05d90ab0bff7028dc6a6b84ac17c1066831d Mon Sep 17 00:00:00 2001 From: zach Date: Tue, 18 Aug 2026 17:46:15 +0200 Subject: [PATCH] adjust notification padding --- Drawers/Windows.qml | 2 +- Modules/Notifications/Content.qml | 6 +++--- Modules/Notifications/Notification.qml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Drawers/Windows.qml b/Drawers/Windows.qml index 3942568..bac1fbc 100644 --- a/Drawers/Windows.qml +++ b/Drawers/Windows.qml @@ -267,7 +267,7 @@ CustomWindow { id: notifsBg panel: panels.notifications - radius: Tokens.rounding.medium + radius: Tokens.rounding.large } PanelBg { diff --git a/Modules/Notifications/Content.qml b/Modules/Notifications/Content.qml index 2504abe..46477a9 100644 --- a/Modules/Notifications/Content.qml +++ b/Modules/Notifications/Content.qml @@ -11,7 +11,7 @@ import qs.Helpers Item { id: root - readonly property int padding: Tokens.padding.small + readonly property int padding: Tokens.padding.smaller required property Item panels required property PersistentProperties visibilities @@ -55,7 +55,7 @@ Item { anchors.fill: parent anchors.margins: root.padding color: "transparent" - radius: Tokens.rounding.medium - root.padding + radius: Tokens.rounding.large - root.padding CustomListView { id: list @@ -152,7 +152,7 @@ Item { } } - ClippingRectangle { + CustomRect { anchors.top: parent.top anchors.topMargin: wrapper.idx === 0 ? 0 : 8 color: "transparent" diff --git a/Modules/Notifications/Notification.qml b/Modules/Notifications/Notification.qml index 2247b2b..46e2bc4 100644 --- a/Modules/Notifications/Notification.qml +++ b/Modules/Notifications/Notification.qml @@ -22,7 +22,7 @@ CustomRect { color: root.modelData.urgency === NotificationUrgency.Critical ? Colors.palette.m3secondaryContainer : Colors.tPalette.m3surfaceContainer implicitHeight: inner.implicitHeight - radius: Tokens.rounding.small + radius: Tokens.rounding.large - Tokens.padding.smaller x: implicitWidth Behavior on x {