use units.* in testtheme applet
These calls have moved out of theme.
This commit is contained in:
parent
847a61b3d8
commit
b89902c3e7
@ -39,7 +39,7 @@ PlasmaComponents.Page {
|
|||||||
|
|
||||||
Column {
|
Column {
|
||||||
//anchors.fill: parent
|
//anchors.fill: parent
|
||||||
spacing: _s / 4
|
//spacing: _s / 4
|
||||||
|
|
||||||
PlasmaExtras.Title {
|
PlasmaExtras.Title {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
@ -52,8 +52,8 @@ Item {
|
|||||||
width: cwidth/2
|
width: cwidth/2
|
||||||
onClicked: {
|
onClicked: {
|
||||||
print("DPI Button onClicked");
|
print("DPI Button onClicked");
|
||||||
print(units.gridUnit);
|
units.printScreenInfo(dpilabel);
|
||||||
var d = theme.dpi(dpilabel);
|
var d = units.dpi(dpilabel);
|
||||||
dpilabel.text = "\t" + d
|
dpilabel.text = "\t" + d
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user