diff --git a/dots/.config/quickshell/ii/modules/common/widgets/StyledComboBox.qml b/dots/.config/quickshell/ii/modules/common/widgets/StyledComboBox.qml index ae90c8432..97424647e 100644 --- a/dots/.config/quickshell/ii/modules/common/widgets/StyledComboBox.qml +++ b/dots/.config/quickshell/ii/modules/common/widgets/StyledComboBox.qml @@ -116,7 +116,7 @@ ComboBox { popup: Popup { y: root.height + 4 width: root.width - implicitHeight: Math.min(contentItem.implicitHeight, 300) + height: Math.min(listView.contentHeight + topPadding + bottomPadding, 300) padding: 8 background: Rectangle { @@ -125,6 +125,7 @@ ComboBox { } contentItem: ListView { + id: listView clip: true implicitHeight: contentHeight model: root.popup.visible ? root.delegateModel : null