mirror of https://github.com/KDE/kasts.git
Remove deprecated usages of devicePixelRatio
This commit is contained in:
parent
91e43c4013
commit
6121f6622f
|
@ -20,7 +20,7 @@ Controls.ItemDelegate {
|
|||
required property int cardSize
|
||||
required property int cardMargin
|
||||
|
||||
property int borderWidth: Kirigami.Units.devicePixelRatio
|
||||
property int borderWidth: 1
|
||||
|
||||
implicitWidth: cardSize + 2 * cardMargin
|
||||
implicitHeight: cardSize + 2 * cardMargin
|
||||
|
|
|
@ -46,7 +46,7 @@ Rectangle {
|
|||
id: bgFillRect
|
||||
|
||||
anchors.fill: parent
|
||||
anchors.margins: Kirigami.Units.devicePixelRatio
|
||||
anchors.margins: 1
|
||||
|
||||
color: Kirigami.Theme.backgroundColor
|
||||
|
||||
|
|
Loading…
Reference in New Issue