overhaul style
This commit is contained in:
parent
c40299d6b3
commit
0bc8d5f13a
10 changed files with 32 additions and 25 deletions
|
|
@ -9,6 +9,8 @@ import qs.settings
|
|||
Rectangle {
|
||||
id: wallPicker
|
||||
color: "transparent"
|
||||
radius: Config.cfg.appearance.rounding
|
||||
clip: true
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
acceptedButtons: Qt.AllButtons
|
||||
|
|
@ -16,7 +18,7 @@ Rectangle {
|
|||
Rectangle {
|
||||
id: container
|
||||
anchors.fill: parent
|
||||
color: Colors.c.base00
|
||||
color: Colors.c.base01
|
||||
radius: Config.cfg.appearance.rounding
|
||||
GridView {
|
||||
id: wallpaperLayout
|
||||
|
|
@ -24,7 +26,7 @@ Rectangle {
|
|||
snapMode: GridView.SnapOneRow
|
||||
flow: GridView.FlowTopToBottom
|
||||
cellHeight: container.height
|
||||
cellWidth: container.width / 6
|
||||
cellWidth: 300
|
||||
anchors.fill: parent
|
||||
anchors.centerIn: parent
|
||||
anchors.margins: 10
|
||||
|
|
@ -33,7 +35,7 @@ Rectangle {
|
|||
id: wallTile
|
||||
clip: true
|
||||
required property var modelData
|
||||
radius: Config.cfg.appearance.rounding / 1.5
|
||||
radius: Config.cfg.appearance.rounding - 10
|
||||
color: 'transparent'
|
||||
implicitWidth: wallpaperLayout.cellWidth - 20
|
||||
implicitHeight: wallpaperLayout.cellHeight - 20
|
||||
|
|
|
|||
Loading…
Reference in a new issue