diff --git a/src/kcm/package/contents/ui/Advanced.qml b/src/kcm/package/contents/ui/Advanced.qml --- a/src/kcm/package/contents/ui/Advanced.qml +++ b/src/kcm/package/contents/ui/Advanced.qml @@ -28,7 +28,12 @@ id: scrollView ColumnLayout { - width: scrollView.viewport.width + Component.onCompleted: { + // Normal binding causes binding loops + width = Qt.binding(function() { + return scrollView.viewport.width; + }); + } Header { Layout.fillWidth: true diff --git a/src/kcm/package/contents/ui/Applications.qml b/src/kcm/package/contents/ui/Applications.qml --- a/src/kcm/package/contents/ui/Applications.qml +++ b/src/kcm/package/contents/ui/Applications.qml @@ -30,7 +30,12 @@ anchors.fill: parent ColumnLayout { - width: scrollView.viewport.width + Component.onCompleted: { + // Normal binding causes binding loops + width = Qt.binding(function() { + return scrollView.viewport.width; + }); + } property bool appsPlayingAudio: eventStreamView.visible || sinkInputView.visible diff --git a/src/kcm/package/contents/ui/Devices.qml b/src/kcm/package/contents/ui/Devices.qml --- a/src/kcm/package/contents/ui/Devices.qml +++ b/src/kcm/package/contents/ui/Devices.qml @@ -26,7 +26,12 @@ id: scrollView ColumnLayout { - width: scrollView.viewport.width + Component.onCompleted: { + // Normal binding causes binding loops + width = Qt.binding(function() { + return scrollView.viewport.width; + }); + } Header { Layout.fillWidth: true