From 6d1effe8864894f7268289ae6ee71067b0c9e756 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 5 Apr 2016 16:50:43 -0700 Subject: QML UI: more theme information The fonts on my Nexus 6p are way too big (especially when compared to the fonts of the same build on an iPhone 6plus that has very similar screen size). Simply trying to get more data... Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/ThemeTest.qml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- cgit v1.2.3-70-g09d2