on xenial help sign in
Make default header background non-transparent.
commit0fc1b8e106448879da34350875183392d2344d3e authorMichał Sawicz <michal.sawicz@canonical.com> dateThu 14 Aug 2014, 13:39 (12 years ago) parentf460ff12b472c3
2 files changed+2−2
plugins/Dash/ScopeStyle.qml+1−1 tests/plugins/Dash/tst_ScopeStyle.qml+1−1
plugins/Dash/ScopeStyle.qml+1−1
@@ -78,7 +78,7 @@ QtObject {
7878 readonly property url headerLogo: "logo" in d.headerStyle ? d.headerStyle["logo"] : ""
7979
8080 /// Background style for the header
81− readonly property url headerBackground: "background" in d.headerStyle ? d.headerStyle["background"] : ""
81+ readonly property url headerBackground: "background" in d.headerStyle ? d.headerStyle["background"] : "color:///#f5f5f5"
8282
8383 /// Foreground color for the header
8484 readonly property color headerForeground: "foreground-color" in d.headerStyle ? d.headerStyle["foreground-color"] : foreground
tests/plugins/Dash/tst_ScopeStyle.qml+1−1
@@ -170,7 +170,7 @@ Rectangle {
170170
171171 function test_headerBackground_data() {
172172 return [
173− { tag: "default", index: 0, headerBackground: "" },
173+ { tag: "default", index: 0, headerBackground: "color:///#f5f5f5" },
174174 { tag: "black", index: 3, headerBackground: "gradient:///white/blue" },
175175 ];
176176 }