Add units.dp and units.gu to testtheme

This commit is contained in:
Sebastian Kügler 2014-01-21 17:32:49 +01:00
parent af691a9897
commit caa975c7bb

View File

@ -71,6 +71,30 @@ Item {
}
}
Row {
PlasmaComponents.Label {
text: "units.dp: "
width: cwidth
}
PlasmaComponents.Label {
width: cheight
height: cheight / 2
text: units.dp(1)
}
}
Row {
PlasmaComponents.Label {
text: "units.gu: "
width: cwidth
}
PlasmaComponents.Label {
width: cheight
height: cheight / 2
text: units.gu(1)
}
}
Row {
PlasmaComponents.Label {
text: "highlightColor: "