diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-04-14 13:05:01 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-04-14 13:05:01 -0700 |
commit | ee75812b5a547de88233312863cc94ba9a608e2b (patch) | |
tree | 92969105b69f0031e2d398d2422774585007e78e /mobile-widgets | |
parent | 124632489775f975c0bb5430a394fdd7d02a3845 (diff) | |
download | subsurface-ee75812b5a547de88233312863cc94ba9a608e2b.tar.gz |
QML UI: keep the fontMetric
We reference it elsewhere.
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, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index c92955f4d..30bb56ccc 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -38,9 +38,9 @@ Kirigami.ApplicationWindow { hidePassiveNotification(); } } -/* this shouldn't be needed anymore FontMetrics { id: fontMetrics + /* this shouldn't be needed anymore Component.onCompleted: { if (Math.round(rootItem.width / Kirigami.Units.gridUnit) < 20) { fontMetrics.font.pointSize = fontMetrics.font.pointSize * 2 / 3 @@ -48,8 +48,8 @@ Kirigami.ApplicationWindow { console.log("Reduce font size for narrow screens: " + fontMetrics.font.pointSize) } } + */ } -*/ visible: false // TODO: Verify where the opacity went to. |