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
|
||||
|
||||
Component.onCompleted: {
|
||||
if (background) {
|
||||
background.visible = true
|
||||
}
|
||||
Kirigami.Theme.colorSet: Kirigami.Theme.View
|
||||
Kirigami.Theme.inherit: false
|
||||
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue