Add adjustable heigth for MultiSelectionTabs

This commit is contained in:
Simon Stürz 2026-02-25 16:33:55 +01:00
parent 7500e7533d
commit c1ff089513

View File

@ -37,6 +37,7 @@ Rectangle {
property color selectionColor: Style.tileOverlayColor
property alias model: repeater.model
property var selectedItems: []
property int tabHeight: 0
Rectangle {
id: clipMask
@ -56,7 +57,7 @@ Rectangle {
delegate: Item {
Layout.fillWidth: true
height: label.implicitHeight + Style.smallMargins
height: root.tabHeight > 0 ? root.tabHeight : label.implicitHeight + Style.smallMargins
Rectangle {
anchors.fill: parent
color: root.selectionColor
@ -99,4 +100,3 @@ Rectangle {
}
}