Add frame back to device list
This commit is contained in:
parent
89f950ca88
commit
03d8e3c2cd
1 changed files with 12 additions and 4 deletions
16
kcm/list.qml
16
kcm/list.qml
|
@ -21,10 +21,18 @@ ScrollView {
|
||||||
|
|
||||||
property alias model: devices.model
|
property alias model: devices.model
|
||||||
|
|
||||||
Component.onCompleted: {
|
Kirigami.Theme.colorSet: Kirigami.Theme.View
|
||||||
if (background) {
|
Kirigami.Theme.inherit: false
|
||||||
background.visible = true
|
|
||||||
}
|
background: Rectangle {
|
||||||
|
color: Kirigami.Theme.backgroundColor
|
||||||
|
radius: Kirigami.Units.cornerRadius
|
||||||
|
|
||||||
|
border.color: Kirigami.ColorUtils.linearInterpolation(
|
||||||
|
Kirigami.Theme.backgroundColor,
|
||||||
|
Kirigami.Theme.textColor,
|
||||||
|
Kirigami.Theme.frameContrast
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
|
|
Loading…
Reference in a new issue