From ecd6141739023d006c734ec1d9fa6b5075e6cfd6 Mon Sep 17 00:00:00 2001 From: LemmyCook Date: Tue, 9 Sep 2025 08:27:44 -0400 Subject: [PATCH] Toast: better spacing/margin --- Services/CompositorService.qml | 6 ++++-- Widgets/NToast.qml | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Services/CompositorService.qml b/Services/CompositorService.qml index 3a5545f..7e46e31 100644 --- a/Services/CompositorService.qml +++ b/Services/CompositorService.qml @@ -192,8 +192,10 @@ Singleton { } windowsList.push({ - "id": (toplevel.address !== undefined && toplevel.address !== null) ? String(toplevel.address) : "", - "title": (toplevel.title !== undefined && toplevel.title !== null) ? String(toplevel.title) : "", + "id": (toplevel.address !== undefined + && toplevel.address !== null) ? String(toplevel.address) : "", + "title": (toplevel.title !== undefined && toplevel.title !== null) ? String( + toplevel.title) : "", "appId": (appId !== undefined && appId !== null) ? String(appId) : "", "workspaceId": toplevel.workspace?.id || null, "isFocused": toplevel.activated === true diff --git a/Widgets/NToast.qml b/Widgets/NToast.qml index ffb7a80..c6ccbbc 100644 --- a/Widgets/NToast.qml +++ b/Widgets/NToast.qml @@ -112,8 +112,8 @@ Item { RowLayout { id: contentLayout anchors.fill: parent - anchors.margins: Style.marginM * scaling - spacing: Style.marginS * scaling + anchors.margins: Style.marginL * scaling + spacing: Style.marginL * scaling // Icon NIcon {