@@ -342,6 +342,7 @@ Item {
342342 ]
343343
344344 contents: Label {
345+ visible: header.contents === null
345346 LayoutMirroring.enabled: Qt.application.layoutDirection == Qt.RightToLeft
346347 anchors {
347348 left: parent.left
@@ -351,7 +352,7 @@ Item {
351352 text: header.title
352353 font.weight: header.fontWeight
353354 fontSize: header.fontSize
354− color: header.titleColor
355+ color: header.panelForegroundColor
355356 elide: Text.ElideRight
356357 AbstractButton {
357358 anchors.fill: parent