From 88199a89cd6ed8b94fb9af3d937a96abc84b72fe Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 26 Nov 2024 11:38:56 +0800 Subject: [PATCH] Make tray window item a rectangle with base palette colour Signed-off-by: Claudio Cambra --- src/gui/tray/MainWindow.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/tray/MainWindow.qml b/src/gui/tray/MainWindow.qml index 0459b87403356..000cb48e3685e 100644 --- a/src/gui/tray/MainWindow.qml +++ b/src/gui/tray/MainWindow.qml @@ -222,7 +222,7 @@ ApplicationWindow { } } - Item { + Rectangle { id: trayWindowMainItem property bool isUnifiedSearchActive: unifiedSearchResultsListViewSkeletonLoader.active @@ -235,6 +235,8 @@ ApplicationWindow { anchors.margins: Style.trayWindowBorderWidth clip: true + radius: Systray.useNormalWindow ? 0.0 : Style.trayWindowRadius + color: palette.base Accessible.role: Accessible.Grouping Accessible.name: qsTr("Nextcloud desktop main dialog")