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 cardSize
|
||||||
required property int cardMargin
|
required property int cardMargin
|
||||||
|
|
||||||
property int borderWidth: Kirigami.Units.devicePixelRatio
|
property int borderWidth: 1
|
||||||
|
|
||||||
implicitWidth: cardSize + 2 * cardMargin
|
implicitWidth: cardSize + 2 * cardMargin
|
||||||
implicitHeight: cardSize + 2 * cardMargin
|
implicitHeight: cardSize + 2 * cardMargin
|
||||||
|
@ -46,7 +46,7 @@ Rectangle {
|
|||||||
id: bgFillRect
|
id: bgFillRect
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: Kirigami.Units.devicePixelRatio
|
anchors.margins: 1
|
||||||
|
|
||||||
color: Kirigami.Theme.backgroundColor
|
color: Kirigami.Theme.backgroundColor
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user