diff --git a/src/kcms/rules/ui/RuleItemDelegate.qml b/src/kcms/rules/ui/RuleItemDelegate.qml index 87b6d357cf..59bd3d6c7a 100644 --- a/src/kcms/rules/ui/RuleItemDelegate.qml +++ b/src/kcms/rules/ui/RuleItemDelegate.qml @@ -21,7 +21,7 @@ Kirigami.AbstractListItem { highlighted: false hoverEnabled: false - RowLayout { + contentItem: RowLayout { Kirigami.Icon { id: itemIcon diff --git a/src/kcms/rules/ui/RulesEditor.qml b/src/kcms/rules/ui/RulesEditor.qml index 3135693603..583015245a 100644 --- a/src/kcms/rules/ui/RulesEditor.qml +++ b/src/kcms/rules/ui/RulesEditor.qml @@ -197,7 +197,7 @@ KCM.ScrollViewKCM { highlighted: false width: ListView.view.width - RowLayout { + contentItem: RowLayout { Kirigami.Icon { source: model.icon Layout.preferredHeight: Kirigami.Units.iconSizes.smallMedium diff --git a/src/kcms/rules/ui/main.qml b/src/kcms/rules/ui/main.qml index 450b9ee771..8a18ff3ab2 100644 --- a/src/kcms/rules/ui/main.qml +++ b/src/kcms/rules/ui/main.qml @@ -143,7 +143,7 @@ KCM.ScrollViewKCM { Kirigami.SwipeListItem { id: ruleBookItem - RowLayout { + contentItem: RowLayout { Kirigami.ListItemDragHandle { visible: !exportInfo.visible listItem: ruleBookItem