From 8bc1028f33559cc0dbffde2516c08b8a86051534 Mon Sep 17 00:00:00 2001 From: zhanghongyuan Date: Thu, 26 Feb 2026 16:19:01 +0800 Subject: [PATCH] fix(notification): improve action button background styling improve action button background styling log: improve action button background styling bug: PMS-350965 --- panels/notification/plugin/NotifyAction.qml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/panels/notification/plugin/NotifyAction.qml b/panels/notification/plugin/NotifyAction.qml index e2a87003e..7e650e026 100644 --- a/panels/notification/plugin/NotifyAction.qml +++ b/panels/notification/plugin/NotifyAction.qml @@ -24,6 +24,15 @@ Control { signal gotoNextButton() // Signal to Tab to next button (X button or next notify) signal gotoPrevItem() // Signal to Shift+Tab to previous notify item + property Palette actionBackgroundColor: Palette { + normal { + common: Qt.rgba(0, 0, 0, 0.15) + } + normalDark { + common: Qt.rgba(0, 0, 0, 0.2) + } + } + // Focus the first action button for Tab navigation // Returns true if an enabled button was found and focused function focusFirstButton() { @@ -186,6 +195,8 @@ Control { radius: 6 outsideBorderColor: null insideBorderColor: null + dropShadowColor: null + backgroundColor: root.actionBackgroundColor anchors.fill: parent } Keys.onBacktabPressed: function(event) { @@ -262,6 +273,8 @@ Control { radius: 6 outsideBorderColor: null insideBorderColor: null + dropShadowColor: null + backgroundColor: root.actionBackgroundColor anchors.fill: parent } }