on xenial help sign in
Use correct PageHeader colour API.
commitf16d76ee18a0293dc633e71605c5fb86a0208ff3 authorMichał Sawicz <michal.sawicz@canonical.com> dateTue 5 Aug 2014, 23:47 (12 years ago) parent8e45b88
1 file changed+2−1
qml/Components/PageHeader.qml+2−1
qml/Components/PageHeader.qml+2−1
@@ -169,6 +169,7 @@ Item {
169169 property var styledItem: searchHeader
170170 property string title
171171 property var config: PageHeadConfiguration {
172+ foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : "grey"
172173 backAction: Action {
173174 iconName: "back"
174175 onTriggered: {
@@ -247,10 +248,10 @@ Item {
247248 contentHeight: height
248249 opacity: headerContainer.clip || !headerContainer.showSearch ? 1 : 0 // setting visible false cause column to relayout
249250 separatorSource: ""
250− textColor: root.scopeStyle ? root.scopeStyle.headerForeground : "grey"
251251 property var styledItem: header
252252 property string title: root.title
253253 property var config: PageHeadConfiguration {
254+ foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : "grey"
254255 backAction: Action {
255256 iconName: "back"
256257 visible: root.showBackButton