summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/ThemeTest.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml/ThemeTest.qml')
-rw-r--r--mobile-widgets/qml/ThemeTest.qml14
1 files changed, 14 insertions, 0 deletions
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
@@ -108,6 +108,20 @@ Kirigami.Page {
}
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
}