on xenial help sign in
fix black header
commit06229c5602721f5ac72b867aaec6e6b18c34bcf8 authorTim Peeters <tim.peeters@canonical.com> dateFri 4 Mar 2016, 21:59 (11 years ago) parent64c6d136ddf3bf
3 files changed+5
qml/Components/Header.qml+1 qml/Dash/DashPageHeader.qml+2 qml/Stages/Splash.qml+2
qml/Components/Header.qml+1
@@ -18,6 +18,7 @@ import Ubuntu.Components 1.3
1818import Ubuntu.Components.Themes.Ambiance 1.3
1919
2020PageHeadStyle {
21+ // FIXME: Don't use this but PageHeader from Ubuntu.Components 1.3.
2122 id: root
2223
2324 property var styledItem: root
qml/Dash/DashPageHeader.qml+2
@@ -170,6 +170,7 @@ Item {
170170 anchors { left: parent.left; right: parent.right }
171171
172172 PageHeadStyle {
173+ // FIXME: Replace PageHeadStyle from the Ambiance theme by the new PageHeader from Ubuntu.Components 1.3.
173174 id: searchHeader
174175 anchors { left: parent.left; right: parent.right }
175176 opacity: headerContainer.clip || headerContainer.showSearch ? 1 : 0 // setting visible false cause column to relayout
@@ -179,6 +180,7 @@ Item {
179180 property color dividerColor: "transparent" // Doesn't matter as we don't have PageHeadSections
180181 property color panelColor: background.topColor
181182 panelForegroundColor: config.foregroundColor
183+ backgroundColor: "transparent"
182184 config: PageHeadConfiguration {
183185 foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : theme.palette.normal.baseText
184186 backAction: Action {
qml/Stages/Splash.qml+2
@@ -76,6 +76,7 @@ Item {
7676 }
7777
7878 Ambiance.PageHeadStyle {
79+ // FIXME: Replace PageHeadStyle by PageHeader from Ubuntu.Components 1.3.
7980 id: header
8081 anchors {
8182 left: parent.left;
@@ -86,6 +87,7 @@ Item {
8687 property color dividerColor: Qt.darker(styledItem.backgroundColor, 1.1)
8788 property color panelColor: Qt.lighter(styledItem.backgroundColor, 1.1)
8889 panelForegroundColor: config.foregroundColor
90+ backgroundColor: "transparent"
8991 config: PageHeadConfiguration {
9092 id: headerConfig
9193 foregroundColor: styledItem.fakeTheme.palette.selected.backgroundText