From 4a2e21cf7bd0ba44f4fea265c0908252951f2eb1 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 20 Jun 2017 10:56:49 -0700 Subject: QML UI: log the font in use This shows that we are, indeed, using Roboto on Android. Which means I can close the first of Davide's design issues: Fixes #427 Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/main.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index c904be605..6e64a1d2f 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -37,6 +37,10 @@ Kirigami.ApplicationWindow { } FontMetrics { id: fontMetrics + Component.onCompleted: { + console.log("Using the following font: " + fontMetrics.font.family) + } + /* this shouldn't be needed anymore Component.onCompleted: { if (Math.round(rootItem.width / Kirigami.Units.gridUnit) < 20) { -- cgit v1.2.3-70-g09d2