From c1ff089513c7ac6ab1f108f4644a56d2540262bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Wed, 25 Feb 2026 16:33:55 +0100 Subject: [PATCH] Add adjustable heigth for MultiSelectionTabs --- nymea-app/ui/components/MultiSelectionTabs.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nymea-app/ui/components/MultiSelectionTabs.qml b/nymea-app/ui/components/MultiSelectionTabs.qml index d62708f5..f65421b9 100644 --- a/nymea-app/ui/components/MultiSelectionTabs.qml +++ b/nymea-app/ui/components/MultiSelectionTabs.qml @@ -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 { } } -