diff --git a/mobile-widgets/qml/ThemeTest.qml b/mobile-widgets/qml/ThemeTest.qml index c0916aea0..292d2becc 100644 --- a/mobile-widgets/qml/ThemeTest.qml +++ b/mobile-widgets/qml/ThemeTest.qml @@ -107,6 +107,20 @@ Kirigami.Page { text: font.pointSize } + Kirigami.Label { + text: "Pixel density:" + } + Text { + text: Screen.pixelDensity + } + + Kirigami.Label { + text: "Height of default font:" + } + Text { + text: font.pixelSize / Screen.pixelDensity + "mm" + } + Kirigami.Label { Layout.columnSpan: 2 Layout.fillHeight: true