Add units.dp and units.gu to testtheme
This commit is contained in:
parent
af691a9897
commit
caa975c7bb
@ -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: "
|
||||
|
Loading…
Reference in New Issue
Block a user