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 @@ -27,7 +27,8 @@ id: mainColumn Component.onCompleted: searchField.forceActiveFocus() - header: Item { + header: Rectangle { + color: Kirigami.Theme.backgroundColor width: mainColumn.width height: Kirigami.Units.gridUnit * 2.5 RowLayout { 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 @@ -33,9 +33,11 @@ Accessible.role: Accessible.Button Accessible.name: i18n("Back") - Item { + Rectangle { id: headerControls + color: Kirigami.Theme.backgroundColor + anchors.fill: parent QtControls.ToolButton { @@ -46,7 +48,6 @@ RowLayout { anchors.fill: parent - opacity: 0.3 Kirigami.Icon { id: toolButtonIcon @@ -65,8 +66,6 @@ text: subCategoryColumn.title verticalAlignment: Text.AlignVCenter elide: Text.ElideRight - //FIXME: QtControls bug, why? - Component.onCompleted: font.bold = true } } } @@ -76,9 +75,6 @@ text: subCategoryColumn.title elide: Text.ElideRight visible: !backButton.visible - opacity: 0.3 - //FIXME: QtControls bug, why? - Component.onCompleted: font.bold = true } } Kirigami.Separator {