diff --git a/ui/Units.qml b/ui/Units.qml index dbcbe98..c847011 100644 --- a/ui/Units.qml +++ b/ui/Units.qml @@ -89,7 +89,8 @@ Item { function dp(x) { // FIXME: This won't work because Units is a singleton and is bound to the first // screen that is available during its creation - return x * Screen.devicePixelRatio; + //return x * Screen.devicePixelRatio; + return x; return x * (((Screen.pixelDensity * 25.4) / (Screen.logicalPixelDensity * 25.4)) / Screen.devicePixelRatio); }