@@ -322,6 +322,7 @@ Item {
322322 ]
323323
324324 contents: Label {
325+ visible: header.contents === null
325326 LayoutMirroring.enabled: Qt.application.layoutDirection == Qt.RightToLeft
326327 anchors {
327328 left: parent.left
@@ -331,7 +332,7 @@ Item {
331332 text: header.title
332333 font.weight: header.fontWeight
333334 fontSize: header.fontSize
334− color: header.titleColor
335+ color: header.panelForegroundColor
335336 elide: Text.ElideRight
336337 AbstractButton {
337338 anchors.fill: parent