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 {
|
||||
//anchors.fill: parent
|
||||
spacing: _s / 4
|
||||
//spacing: _s / 4
|
||||
|
||||
PlasmaExtras.Title {
|
||||
width: parent.width
|
||||
|
@ -52,8 +52,8 @@ Item {
|
||||
width: cwidth/2
|
||||
onClicked: {
|
||||
print("DPI Button onClicked");
|
||||
print(units.gridUnit);
|
||||
var d = theme.dpi(dpilabel);
|
||||
units.printScreenInfo(dpilabel);
|
||||
var d = units.dpi(dpilabel);
|
||||
dpilabel.text = "\t" + d
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user