diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-06-20 10:56:49 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-20 11:00:01 -0700 |
commit | 4a2e21cf7bd0ba44f4fea265c0908252951f2eb1 (patch) | |
tree | 83a4f84914894deefc91ed34caadbf73f6011475 /mobile-widgets | |
parent | 157e14e11db6aaaa97e4c7dd41f0a14743097db3 (diff) | |
download | subsurface-4a2e21cf7bd0ba44f4fea265c0908252951f2eb1.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/main.qml | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |