on xenial help sign in
Merge
commitf41454c59e3bf1e1abb18da2f44b17d3ba7081e6 authorAlbert Astals Cid <albert.astals@canonical.com> dateThu 3 Mar 2016, 17:46 (11 years ago) parent5db15ceed49d9f
1 file changed+1−15
qml/Dash/DashPageHeader.qml+1−15
qml/Dash/DashPageHeader.qml+1−15
@@ -296,6 +296,7 @@ Item {
296296 property color panelColor: background.topColor
297297 panelForegroundColor: config.foregroundColor
298298 config: PageHeadConfiguration {
299+ title: root.title
299300 foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : theme.palette.normal.baseText
300301 backAction: Action {
301302 iconName: backIsClose ? "close" : "back"
@@ -336,21 +337,6 @@ Item {
336337 onTriggered: root.favoriteClicked()
337338 }
338339 ]
339−
340− contents: Label {
341− visible: header.contents === null
342− LayoutMirroring.enabled: Qt.application.layoutDirection == Qt.RightToLeft
343− anchors {
344− left: parent.left
345− right: parent.right
346− verticalCenter: parent.verticalCenter
347− }
348− text: root.title
349− font.weight: header.fontWeight
350− fontSize: header.fontSize
351− color: header.panelForegroundColor
352− elide: Text.ElideRight
353− }
354340 }
355341
356342 property var contents: null