mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 22:35:27 +00:00
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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue