@@ -26,6 +26,7 @@ AbstractButton {
2626 property real fontScale: 1.0
2727 property int headerAlignment: Text.AlignLeft
2828 readonly property int headerHeight: headerLoader.item ? headerLoader.item.height : 0
29+ property int fixedHeaderHeight: -1
2930
3031 property bool showHeader: true
3132
@@ -203,6 +204,7 @@ AbstractButton {
203204 fontColor: inOverlay ? "white" : summary.color
204205 useMascotShape: !backgroundLoader.active && !inOverlay
205206 headerAlignment: root.headerAlignment
207+ height: root.fixedHeaderHeight != -1 ? root.fixedHeaderHeight : implicitHeight
206208
207209 Behavior on opacity { NumberAnimation { duration: UbuntuAnimation.SnapDuration } }
208210 }