on xenial help sign in
Expose card header height for overlay height needs.
8c9ad63Michał Karnicki
qml/Dash/Card.qml+1
@@ -24,6 +24,7 @@ Item {
24 property var cardData
24 property var cardData
25
25
26 property alias fontScale: header.fontScale
26 property alias fontScale: header.fontScale
27+ property alias headerHeight: header.height
27
28
28 property bool showHeader: true
29 property bool showHeader: true
29
30
qml/Dash/CardTool.qml+5
@@ -100,6 +100,11 @@ Item {
100 }
100 }
101 }
101 }
102
102
103+ /*!
104+ type:real \brief Height of the card's header.
105+ */
106+ readonly property var headerHeight: card.headerHeight
107+
103 readonly property QtObject priv: card
108 readonly property QtObject priv: card
104
109
105 Card {
110 Card {