From 9784e467be06a83ee632af0c3cbc8fb73aa08551 Mon Sep 17 00:00:00 2001 From: zhanghongyuan Date: Tue, 3 Mar 2026 11:32:06 +0800 Subject: [PATCH] fix(notification): align notification items in staging area MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add leftMargin to ListView in NotifyStaging to match NotifyView layout. 在NotifyStaging的ListView中添加leftMargin,使其与NotifyView布局保持一致。 Log: 修复通知中心暂驻区域和常驻区域消息对齐问题 PMS: BUG-351633 Influence: 修复后通知中心暂驻区域和常驻区域的通知项将正确对齐显示。 --- panels/notification/center/NotifyStaging.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panels/notification/center/NotifyStaging.qml b/panels/notification/center/NotifyStaging.qml index 673204299..8dc6d0d71 100644 --- a/panels/notification/center/NotifyStaging.qml +++ b/panels/notification/center/NotifyStaging.qml @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2024 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: GPL-3.0-or-later @@ -85,6 +85,7 @@ FocusScope { snapMode: ListView.SnapToItem width: root.width height: contentHeight + leftMargin: NotifyStyle.leftMargin model: notifyModel delegate: OverlapNotify {