From a46babe250f333c438f48790230e6bf9e61dfb05 Mon Sep 17 00:00:00 2001 From: cutefishd Date: Tue, 6 Apr 2021 10:27:32 +0800 Subject: [PATCH] Add window shadow --- qml/main.qml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/qml/main.qml b/qml/main.qml index efdf923..9c8dfb1 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -18,11 +18,12 @@ Item { enabled: true } -// Meui.WindowShadow { -// view: mainWindow -// geometry: Qt.rect(root.x, root.y, root.width, root.height) -// radius: _background.radius -// } + Meui.WindowShadow { + view: mainWindow + geometry: Qt.rect(root.x, root.y, root.width, root.height) + strength: 0.5 + radius: _background.radius + } Meui.WindowBlur { view: mainWindow