on xenial help sign in
fix title color & visibility
683edafAlbert Astals Cid
qml/Dash/PageHeader.qml+2−1
@@ -322,6 +322,7 @@ Item {
322 ]
322 ]
323
323
324 contents: Label {
324 contents: Label {
325+ visible: header.contents === null
325 LayoutMirroring.enabled: Qt.application.layoutDirection == Qt.RightToLeft
326 LayoutMirroring.enabled: Qt.application.layoutDirection == Qt.RightToLeft
326 anchors {
327 anchors {
327 left: parent.left
328 left: parent.left
@@ -331,7 +332,7 @@ Item {
331 text: header.title
332 text: header.title
332 font.weight: header.fontWeight
333 font.weight: header.fontWeight
333 fontSize: header.fontSize
334 fontSize: header.fontSize
334− color: header.titleColor
335+ color: header.panelForegroundColor
335 elide: Text.ElideRight
336 elide: Text.ElideRight
336 AbstractButton {
337 AbstractButton {
337 anchors.fill: parent
338 anchors.fill: parent