diff --git a/src/imports/FluentUI/Controls/FluAcrylic.qml b/src/imports/FluentUI/Controls/FluAcrylic.qml index 40062894..7076e07c 100644 --- a/src/imports/FluentUI/Controls/FluAcrylic.qml +++ b/src/imports/FluentUI/Controls/FluAcrylic.qml @@ -7,6 +7,7 @@ Item { property alias color: rect.color property alias acrylicOpacity: rect.opacity + property var sourceItem: control.parent Rectangle { id: rect @@ -18,7 +19,7 @@ Item { ShaderEffectSource { id: effect_source anchors.fill: parent - sourceItem: control.parent + sourceItem: control.sourceItem sourceRect: Qt.rect(control.x, control.y, control.width, control.height) } diff --git a/src/imports/FluentUI/Controls/FluPagination.qml b/src/imports/FluentUI/Controls/FluPagination.qml index ab2c4dd5..c3ba495a 100644 --- a/src/imports/FluentUI/Controls/FluPagination.qml +++ b/src/imports/FluentUI/Controls/FluPagination.qml @@ -22,10 +22,9 @@ Item { Row{ id: content height: control.height - spacing: 25 + spacing: 10 padding: 10 - FluToggleButton{ visible: control.pageCount>1 disabled: control.pageCurrent<=1