diff --git a/example/qml/page/T_Home.qml b/example/qml/page/T_Home.qml index 759445de..c6acc672 100644 --- a/example/qml/page/T_Home.qml +++ b/example/qml/page/T_Home.qml @@ -68,7 +68,12 @@ FluScrollablePage{ id: control width: 220 height: 240 + FluShadow{ + radius:8 + anchors.fill: item_content + } FluItem{ + id:item_content radius: [8,8,8,8] width: 200 height: 220 diff --git a/example/src/main.cpp b/example/src/main.cpp index 79538078..9aec80a6 100644 --- a/example/src/main.cpp +++ b/example/src/main.cpp @@ -27,6 +27,7 @@ FRAMELESSHELPER_USE_NAMESPACE FramelessConfig::instance()->set(Global::Option::EnableBlurBehindWindow); #ifdef Q_OS_WIN // 此设置仅在Windows下生效 FramelessConfig::instance()->set(Global::Option::ForceHideWindowFrameBorder); + FramelessConfig::instance()->set(Global::Option::EnableBlurBehindWindow,false); #endif #ifdef Q_OS_MACOS FramelessConfig::instance()->set(Global::Option::ForceNonNativeBackgroundBlur,false); diff --git a/src/imports/FluentUI/Controls/FluTimeline.qml b/src/imports/FluentUI/Controls/FluTimeline.qml index a12282ff..0d5b1ad2 100644 --- a/src/imports/FluentUI/Controls/FluTimeline.qml +++ b/src/imports/FluentUI/Controls/FluTimeline.qml @@ -5,7 +5,7 @@ import FluentUI Item{ property int mode: FluTimelineType.Left property alias model: repeater.model - property color lineColor: Qt.rgba(240/255,240/255,240/255,1) + property color lineColor: FluTheme.dark ? Qt.rgba(80/255,80/255,80/255,1) : Qt.rgba(210/255,210/255,210/255,1) id:control implicitWidth: 380 implicitHeight: layout_column.height diff --git a/src/imports/FluentUI/Controls/FluWindow.qml b/src/imports/FluentUI/Controls/FluWindow.qml index 7433f6ff..7ab56f92 100644 --- a/src/imports/FluentUI/Controls/FluWindow.qml +++ b/src/imports/FluentUI/Controls/FluWindow.qml @@ -12,9 +12,9 @@ Window { property Component loadingItem: com_loading property color backgroundColor: { if(active){ - return FluTheme.dark ? Qt.rgba(26/255,34/255,40/255,1) : Qt.rgba(238/255,244/255,249/255,1) + return FluTheme.dark ? Qt.rgba(26/255,34/255,40/255,1) : Qt.rgba(243/255,243/255,243/255,1) } - return FluTheme.dark ? Qt.rgba(32/255,32/255,32/255,1) : Qt.rgba(243/255,243/255,243/255,1) + return FluTheme.dark ? Qt.rgba(32/255,32/255,32/255,1) : Qt.rgba(237/255,237/255,237/255,1) } property var _pageRegister property string _route