on xenial help sign in
Add support for header background and foreground in ScopeStyle.qml.
commitd6a4bc509220a20bcabaf49da132001c0dfdbea9 authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 18 Jul 2014, 20:09 (12 years ago) parent15cea47
1 file changed+6
plugins/Dash/ScopeStyle.qml+6
plugins/Dash/ScopeStyle.qml+6
@@ -70,6 +70,12 @@ QtObject {
7070 /// Source of the logo image for the header
7171 readonly property url headerLogo: "logo" in d.headerStyle ? d.headerStyle["logo"] : ""
7272
73+ /// Background style for the header
74+ readonly property url headerBackground: "background" in d.headerStyle ? d.headerStyle["background"] : ""
75+
76+ /// Foreground color for the header
77+ readonly property color headerForeground: "foreground-color" in d.headerStyle ? d.headerStyle["foreground-color"] : foreground
78+
7379 //! @cond
7480 property var d: QtObject {
7581 readonly property real foregroundLuminance: luminance(foreground)