diff --git a/sidebar/package/contents/ui/CategoriesPage.qml b/sidebar/package/contents/ui/CategoriesPage.qml --- a/sidebar/package/contents/ui/CategoriesPage.qml +++ b/sidebar/package/contents/ui/CategoriesPage.qml @@ -116,21 +116,18 @@ section { property: "categoryDisplayRole" delegate: Kirigami.AbstractListItem { - separatorVisible: false + width: categoryView.width + + backgroundColor: Kirigami.Theme.backgroundColor + Kirigami.Theme.inherit: false + Kirigami.Theme.colorSet: Kirigami.Theme.Window + + hoverEnabled: false supportsMouseEvents: false - RowLayout { - anchors { - left: parent.left - right: parent.right - leftMargin: Kirigami.Units.smallSpacing - } - QtControls2.Label { - id: sectionLabel - text: section - Layout.minimumHeight: Math.max(implicitHeight, Kirigami.Units.iconSizes.smallMedium) - elide: Text.ElideRight - font.weight: Font.Bold - } + + Kirigami.Heading { + level: 2 + text: section } } } diff --git a/sidebar/package/contents/ui/SubCategoryPage.qml b/sidebar/package/contents/ui/SubCategoryPage.qml --- a/sidebar/package/contents/ui/SubCategoryPage.qml +++ b/sidebar/package/contents/ui/SubCategoryPage.qml @@ -73,15 +73,15 @@ } } - QtControls2.Label { + Kirigami.Heading { Layout.fillWidth: true Layout.fillHeight: true + level: 2 height: toolButtonIcon.height text: subCategoryColumn.title verticalAlignment: Text.AlignVCenter elide: Text.ElideRight - font.weight: Font.Bold color: { if (headerControls.pressed) { return Kirigami.Theme.highlightedTextColor;