Expose card header height for overlay height needs.
commit8c9ad6314752c9e25df7e287c4f5e58601d1196b
authorMichał Karnicki <michal.karnicki@canonical.com>
dateThu 6 Feb 2014, 14:05 (13 years ago)
parent0d2862a
qml/Dash/Card.qml+1
@@ -24,6 +24,7 @@ Item {
2424 property var cardData
2525
2626 property alias fontScale: header.fontScale
27+ property alias headerHeight: header.height
2728
2829 property bool showHeader: true
2930
qml/Dash/CardTool.qml+5
@@ -100,6 +100,11 @@ Item {
100100 }
101101 }
102102
103+ /*!
104+ type:real \brief Height of the card's header.
105+ */
106+ readonly property var headerHeight: card.headerHeight
107+
103108 readonly property QtObject priv: card
104109
105110 Card {