on xenial help sign in
Fix the Dash Header hamburger menu background color

Approved by: Michael Zanetti

commit36fcbc9594ac42090a06854398bc4cb0a738ce88 authorAlbert Astals <albert.astals@canonical.com> dateThu 11 Dec 2014, 13:22 (12 years ago) parent08e41411c48699
1 file changed+7
qml/Dash/PageHeader.qml+7
qml/Dash/PageHeader.qml+7
@@ -144,6 +144,7 @@ Item {
144144 property var popover: null
145145
146146 Background {
147+ id: background
147148 objectName: "headerBackground"
148149 style: scopeStyle.headerBackground
149150 }
@@ -176,6 +177,9 @@ Item {
176177 // Required to keep PageHeadStyle noise down as it expects the Page's properties around.
177178 property var styledItem: searchHeader
178179 property string title
180+ property color dividerColor: "transparent" // Doesn't matter as we don't have PageHeadSections
181+ property color panelColor: background.topColor
182+ panelForegroundColor: config.foregroundColor
179183 property var config: PageHeadConfiguration {
180184 foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : Theme.palette.normal.baseText
181185 backAction: Action {
@@ -246,6 +250,9 @@ Item {
246250 __separator_visible: false
247251 property var styledItem: header
248252 property string title: root.title
253+ property color dividerColor: "transparent" // Doesn't matter as we don't have PageHeadSections
254+ property color panelColor: background.topColor
255+ panelForegroundColor: config.foregroundColor
249256 property var config: PageHeadConfiguration {
250257 foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : Theme.palette.normal.baseText
251258 backAction: Action {