Wallpaper: added fill color that may show up around wallpaper (depends on fillMode)

+ New Widget NColorPicker
+ New Widget NButton
This commit is contained in:
LemmyCook 2025-09-01 22:27:49 -04:00
parent 69a5f0c2c0
commit d5e83aa9de
7 changed files with 411 additions and 5 deletions

View file

@ -105,6 +105,20 @@ ColumnLayout {
onSelected: key => Settings.data.wallpaper.fillMode = key
}
RowLayout {
NLabel {
label: "Fill Color"
description: "Choose a fill color that may appear behind the wallpaper."
Layout.alignment: Qt.AlignTop
}
NColorPicker {
selectedColor: Settings.data.wallpaper.fillColor
onColorSelected: color => Settings.data.wallpaper.fillColor = color
onColorCancelled: selectedColor = Settings.data.wallpaper.fillColor
}
}
// Transition Type
NComboBox {
label: "Transition Type"