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>
This commit is contained in:
parent
157e14e11d
commit
4a2e21cf7b
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user