on xenial help sign in
Implement header background and foreground override.
commita925a91f0f328bb5b651a9721cbebd8f3d60621c authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 18 Jul 2014, 20:09 (12 years ago) parent8d130de
1 file changed+5−1
qml/Components/PageHeader.qml+5−1
qml/Components/PageHeader.qml+5−1
@@ -127,6 +127,10 @@ Item {
127127 property bool showSearch: false
128128 property var popover: null
129129
130+ Background {
131+ style: scopeStyle.headerBackground
132+ }
133+
130134 Behavior on contentY {
131135 UbuntuNumberAnimation {
132136 id: openSearchAnimation
@@ -225,7 +229,7 @@ Item {
225229 height: headerContainer.height
226230 contentHeight: height
227231 separatorSource: ""
228− textColor: root.scopeStyle ? root.scopeStyle.foreground : "grey"
232+ textColor: root.scopeStyle ? root.scopeStyle.headerForeground : "grey"
229233 property var styledItem: header
230234 property string title: root.title
231235 property var config: PageHeadConfiguration {