on xenial help sign in
Merge
commit9f18b59e1a70bf08bb277af10ff8e14459b42b53 authorAlbert Astals Cid <albert.astals@canonical.com> dateThu 3 Mar 2016, 17:46 (11 years ago) parent713bcb5f41454c
1 file changed+1−15
qml/Dash/DashPageHeader.qml+1−15
qml/Dash/DashPageHeader.qml+1−15
@@ -318,6 +318,7 @@ Item {
318318 property color panelColor: background.topColor
319319 panelForegroundColor: config.foregroundColor
320320 config: PageHeadConfiguration {
321+ title: root.title
321322 foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : theme.palette.normal.baseText
322323 backAction: Action {
323324 iconName: backIsClose ? "close" : "back"
@@ -358,21 +359,6 @@ Item {
358359 onTriggered: root.favoriteClicked()
359360 }
360361 ]
361−
362− contents: Label {
363− visible: header.contents === null
364− LayoutMirroring.enabled: Qt.application.layoutDirection == Qt.RightToLeft
365− anchors {
366− left: parent.left
367− right: parent.right
368− verticalCenter: parent.verticalCenter
369− }
370− text: root.title
371− font.weight: header.fontWeight
372− fontSize: header.fontSize
373− color: header.panelForegroundColor
374− elide: Text.ElideRight
375− }
376362 }
377363
378364 property var contents: null