fix wallpaper picker spacing

This commit is contained in:
lucy 2026-07-28 09:01:27 +02:00
commit 83c84b6880

View file

@ -39,7 +39,7 @@ Rectangle {
visible: false
exclusionMode: ExclusionMode.Ignore
keyboardFocus: WlrKeyboardFocus.OnDemand
implicitHeight: 250
implicitHeight: main.screenHeight / 8
color: 'transparent'
anchors {
bottom: true
@ -79,7 +79,7 @@ Rectangle {
snapMode: GridView.SnapOneRow
flow: GridView.FlowTopToBottom
cellHeight: container.height
cellWidth: container.width / 6
cellWidth: container.width / 8
width: parent.width
height: parent.height
anchors.centerIn: parent
@ -99,8 +99,8 @@ Rectangle {
required property var modelData
color: 'transparent'
radius: Config.rounding - 4
implicitWidth: (wallPicker.width - wallPicker.margins.left * 2) / 6
implicitHeight: wallPicker.height - wallPicker.margins.bottom / 4
implicitWidth: wallPicker.width / 8
implicitHeight: wallPicker.height
child: ClippingRectangle {
id: wpRounder
color: 'transparent'