on xenial help sign in
Fix default navigation background
eafe16fMichał Sawicz
plugins/Dash/ScopeStyle.qml+1−1
@@ -80,7 +80,7 @@ QtObject {
80 readonly property color headerDividerColor: "divider-color" in d.headerStyle ? d.headerStyle["divider-color"] : "#e0e0e0"
80 readonly property color headerDividerColor: "divider-color" in d.headerStyle ? d.headerStyle["divider-color"] : "#e0e0e0"
81
81
82 /// Background style for the navigation
82 /// Background style for the navigation
83− readonly property url navigationBackground: "navigation-background" in d.headerStyle ? d.headerStyle["navigation-background"] : "color:///#e0e0e0"
83+ readonly property url navigationBackground: "navigation-background" in d.headerStyle ? d.headerStyle["navigation-background"] : "color:///#f5f5f5"
84
84
85 /// Color of the primary preview button
85 /// Color of the primary preview button
86 readonly property color previewButtonColor: "preview-button-color" in style ? style["preview-button-color"] : Theme.palette.selected.foreground
86 readonly property color previewButtonColor: "preview-button-color" in style ? style["preview-button-color"] : Theme.palette.selected.foreground
tests/plugins/Dash/tst_ScopeStyle.qml+1−1
@@ -180,7 +180,7 @@ Rectangle {
180
180
181 function test_navigationBackground_data() {
181 function test_navigationBackground_data() {
182 return [
182 return [
183− { tag: "default", index: 0, navigationBackground: "color:///#e0e0e0" },
183+ { tag: "default", index: 0, navigationBackground: "color:///#f5f5f5" },
184 { tag: "black", index: 3, navigationBackground: "gradient:///white/blue" },
184 { tag: "black", index: 3, navigationBackground: "gradient:///white/blue" },
185 ];
185 ];
186 }
186 }