diff --git a/components/StyledComboBox.qml b/components/StyledComboBox.qml index 5f9784e..4ab2213 100644 --- a/components/StyledComboBox.qml +++ b/components/StyledComboBox.qml @@ -3,7 +3,6 @@ pragma ComponentBehavior: Bound import qs.config import QtQuick import QtQuick.Controls -import Quickshell.Widgets ComboBox { id: control @@ -42,6 +41,7 @@ ComboBox { duration: Styling.animations.speed.fast } } + radius: Styling.theme.radiusSelector } highlighted: control.highlightedIndex === index } @@ -81,17 +81,13 @@ ComboBox { height: Math.min(contentItem.implicitHeight, control.Window.height - topMargin - bottomMargin) padding: 1 - contentItem: ClippingWrapperRectangle { - radius: Styling.theme.radiusField + contentItem: ListView { + clip: true + implicitHeight: contentHeight + 2 + model: control.popup.visible ? control.delegateModel : null + currentIndex: control.highlightedIndex - ListView { - clip: true - implicitHeight: contentHeight + 2 - model: control.popup.visible ? control.delegateModel : null - currentIndex: control.highlightedIndex - - ScrollIndicator.vertical: ScrollIndicator {} - } + ScrollIndicator.vertical: ScrollIndicator {} } background: Rectangle { @@ -101,7 +97,8 @@ ComboBox { duration: Styling.animations.speed.fast } } - radius: Styling.theme.radiusField + bottomLeftRadius: Styling.theme.radiusField + bottomRightRadius: Styling.theme.radiusField } } } diff --git a/modules/wallpaper/Wallpaper.qml b/modules/wallpaper/Wallpaper.qml index f03cbdb..d396074 100644 --- a/modules/wallpaper/Wallpaper.qml +++ b/modules/wallpaper/Wallpaper.qml @@ -26,9 +26,6 @@ StackView { Image {} } - Component.onCompleted: stack.replace(img, { - "source": stack.wallpaper - }) onWallpaperChanged: stack.replace(img, { "source": stack.wallpaper })