fix spacing and rounding issues in wallpaperpicker

This commit is contained in:
lucy 2026-07-31 12:50:24 +02:00
commit a0de1f29c6

View file

@ -72,7 +72,6 @@ Rectangle {
radius: Config.rounding
border.width: 2
border.color: Colors.base0D
clip: true
GridView {
id: wallpaperLayout
clip: true
@ -80,31 +79,20 @@ Rectangle {
flow: GridView.FlowTopToBottom
cellHeight: container.height
cellWidth: container.width / 8
width: parent.width
height: parent.height
anchors.centerIn: parent
anchors.fill: parent
anchors.rightMargin: 10
model: wallpaperList
delegate: ClippingWrapperRectangle {
id: wallTile
layer.enabled: true
layer.effect: MultiEffect {
id: dropShadow
source: wallTile
shadowEnabled: true
shadowHorizontalOffset: 10
shadowVerticalOffset: 10
shadowColor: "#020202"
}
margin: 10
required property var modelData
color: 'transparent'
radius: Config.rounding - 4
implicitWidth: wallPicker.width / 8
implicitHeight: wallPicker.height
child: ClippingRectangle {
id: wpRounder
color: 'transparent'
radius: Config.rounding
radius: Config.rounding / 1.5
Image {
id: wallpaper
anchors.fill: parent