Add test for devicePixelRatio

This commit is contained in:
Sebastian Kügler 2014-01-23 02:18:58 +01:00
parent cca8a86f98
commit 979dc0c25f

View File

@ -61,6 +61,18 @@ Item {
id: dpilabel id: dpilabel
} }
} }
Row {
PlasmaComponents.Label {
text: "units.devicePixelRatio: "
width: cwidth
}
PlasmaComponents.Label {
width: cheight
height: cheight / 2
text: units.devicePixelRatio
}
}
Row { Row {
PlasmaComponents.Label { PlasmaComponents.Label {
text: "units.gridUnit: " text: "units.gridUnit: "