@@ -26,6 +26,7 @@ AbstractButton {
26 property real fontScale: 1.0
26 property real fontScale: 1.0
27 property int headerAlignment: Text.AlignLeft
27 property int headerAlignment: Text.AlignLeft
28 readonly property int headerHeight: headerLoader.item ? headerLoader.item.height : 0
28 readonly property int headerHeight: headerLoader.item ? headerLoader.item.height : 0
29+ property int fixedHeaderHeight: -1
30 property bool showHeader: true
31 property bool showHeader: true
@@ -203,6 +204,7 @@ AbstractButton {
203 fontColor: inOverlay ? "white" : summary.color
204 fontColor: inOverlay ? "white" : summary.color
204 useMascotShape: !backgroundLoader.active && !inOverlay
205 useMascotShape: !backgroundLoader.active && !inOverlay
205 headerAlignment: root.headerAlignment
206 headerAlignment: root.headerAlignment
207+ height: root.fixedHeaderHeight != -1 ? root.fixedHeaderHeight : implicitHeight
207 Behavior on opacity { NumberAnimation { duration: UbuntuAnimation.SnapDuration } }
209 Behavior on opacity { NumberAnimation { duration: UbuntuAnimation.SnapDuration } }