WallpaperSelector: current wallpaper border is a real border not a huge colored rectangle. looks better when switching wallpaper
This commit is contained in:
parent
459bb59dd5
commit
934c8c61b3
1 changed files with 3 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ ColumnLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredHeight: 140 * scaling
|
Layout.preferredHeight: 140 * scaling
|
||||||
radius: Style.radiusM * scaling
|
radius: Style.radiusM * scaling
|
||||||
color: Color.mSecondary
|
color: Color.transparent
|
||||||
|
|
||||||
NImageRounded {
|
NImageRounded {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
@ -61,6 +61,8 @@ ColumnLayout {
|
||||||
imagePath: currentWallpaper
|
imagePath: currentWallpaper
|
||||||
fallbackIcon: "image"
|
fallbackIcon: "image"
|
||||||
imageRadius: Style.radiusM * scaling
|
imageRadius: Style.radiusM * scaling
|
||||||
|
borderColor: Color.mSecondary
|
||||||
|
borderWidth: Style.borderL * 2 * scaling
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue