From 1129a935ebda16e47d8dfe9588768c4f32bd3bbf Mon Sep 17 00:00:00 2001 From: Mentalflow <312902918@qq.com> Date: Wed, 17 May 2023 20:34:04 +0800 Subject: [PATCH] Fix the blur background in T_Home.qml --- example/qml/page/T_Home.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/example/qml/page/T_Home.qml b/example/qml/page/T_Home.qml index 10f477b..5a2906c 100644 --- a/example/qml/page/T_Home.qml +++ b/example/qml/page/T_Home.qml @@ -47,6 +47,7 @@ FluScrollablePage{ } ListView{ + id: list anchors{ left: parent.left right: parent.right @@ -75,8 +76,8 @@ FluScrollablePage{ sourceItem:bg anchors.fill: parent color: FluTheme.dark ? 'black' : 'white' - rectX: control.parent.x-control.parent.contentX+10+(control.width)*index - rectY: control.parent.y+10 + rectX: list.x-list.contentX+10+(control.width)*index + rectY: list.y+10 acrylicOpacity:0.5 } Rectangle{