From 4c5bc1974862d6ecc73262932f13c5df348dfee3 Mon Sep 17 00:00:00 2001 From: Pico Date: Sat, 8 Nov 2025 21:31:24 +0300 Subject: [PATCH] correct item corner radius --- .../quickshell/ii/modules/common/widgets/StyledComboBox.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dots/.config/quickshell/ii/modules/common/widgets/StyledComboBox.qml b/dots/.config/quickshell/ii/modules/common/widgets/StyledComboBox.qml index 97424647e..8f564a1a5 100644 --- a/dots/.config/quickshell/ii/modules/common/widgets/StyledComboBox.qml +++ b/dots/.config/quickshell/ii/modules/common/widgets/StyledComboBox.qml @@ -64,13 +64,14 @@ ComboBox { delegate: ItemDelegate { id: itemDelegate - width: root.width + width: ListView.view ? ListView.view.width : root.width height: 40 required property var model required property int index background: Rectangle { + anchors.fill: parent radius: Appearance.rounding.small color: root.currentIndex === itemDelegate.index ? Appearance.colors.colPrimary : itemDelegate.down ? Appearance.colors.colSecondaryContainerActive : itemDelegate.hovered ? Appearance.colors.colSecondaryContainerHover : "transparent"