on xenial help sign in
Make default header background non-transparent.
0fc1b8eMichał Sawicz
plugins/Dash/ScopeStyle.qml+1−1
@@ -78,7 +78,7 @@ QtObject {
78 readonly property url headerLogo: "logo" in d.headerStyle ? d.headerStyle["logo"] : ""
78 readonly property url headerLogo: "logo" in d.headerStyle ? d.headerStyle["logo"] : ""
79
79
80 /// Background style for the header
80 /// 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"
82
82
83 /// Foreground color for the header
83 /// Foreground color for the header
84 readonly property color headerForeground: "foreground-color" in d.headerStyle ? d.headerStyle["foreground-color"] : foreground
84 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 {
170
170
171 function test_headerBackground_data() {
171 function test_headerBackground_data() {
172 return [
172 return [
173− { tag: "default", index: 0, headerBackground: "" },
173+ { tag: "default", index: 0, headerBackground: "color:///#f5f5f5" },
174 { tag: "black", index: 3, headerBackground: "gradient:///white/blue" },
174 { tag: "black", index: 3, headerBackground: "gradient:///white/blue" },
175 ];
175 ];
176 }
176 }