Add frame back to device list

This commit is contained in:
Carl Schwan 2024-10-09 23:42:59 +02:00 committed by Albert Vaca Cintora
parent 89f950ca88
commit 03d8e3c2cd

View file

@ -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 {