diff --git a/src/qmlcontrols/kcmcontrols/qml/GridViewKCM.qml b/src/qmlcontrols/kcmcontrols/qml/GridViewKCM.qml --- a/src/qmlcontrols/kcmcontrols/qml/GridViewKCM.qml +++ b/src/qmlcontrols/kcmcontrols/qml/GridViewKCM.qml @@ -85,10 +85,12 @@ header: QtControls.Control { id: headerParent + height: contentItem ? implicitHeight : 0 } footer: QtControls.Control { id: footerParent + height: contentItem ? implicitHeight : 0 } Component.onCompleted: { if (footer && footer != footerParent) { @@ -109,7 +111,7 @@ f.parent = headerParent } } - + KCM.GridView { id: scroll anchors.fill: parent