on xenial help sign in
Add missing inOverlay binding.
2323133Michał Karnicki
qml/Dash/Card.qml+1
@@ -163,6 +163,7 @@ Item {
163 subtitle: cardData && cardData["subtitle"] || ""
163 subtitle: cardData && cardData["subtitle"] || ""
164
164
165 opacity: showHeader ? 1 : 0
165 opacity: showHeader ? 1 : 0
166+ inOverlay: root.inOverlay
166 fontColor: inOverlay ? "white" : summary.getFontColor(background.color)
167 fontColor: inOverlay ? "white" : summary.getFontColor(background.color)
167 useMascotShape: background.visible
168 useMascotShape: background.visible
168
169
qml/Dash/CardHeader.qml+2
@@ -30,6 +30,8 @@ Item {
30 property real fontScale: 1.0
30 property real fontScale: 1.0
31
31
32 property alias headerAlignment: titleLabel.horizontalAlignment
32 property alias headerAlignment: titleLabel.horizontalAlignment
33+
34+ property bool inOverlay
33 property bool useMascotShape: true
35 property bool useMascotShape: true
34 property color fontColor: "grey"
36 property color fontColor: "grey"
35
37