diff --git a/src/declarativeimports/plasmaextracomponents/qml/ListItem.qml b/src/declarativeimports/plasmaextracomponents/qml/ListItem.qml index 0e888d306..b05bf31b8 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/ListItem.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/ListItem.qml @@ -46,7 +46,7 @@ Kirigami.AbstractListItem { topPadding: __background.margins.top bottomPadding: __background.margins.bottom - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, implicitContentWidth + leftPadding + rightPadding) + implicitWidth: Math.max(__listItem.implicitBackgroundWidth + leftInset + rightInset, __listItem.implicitContentWidthimplicitContentWidth + leftPadding + rightPadding) // TODO KF6: Make this behave more like the normal Control default. // Behaving this way for backwards compatibility reasons.