summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/ThemeTest.qml
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2020-01-15 09:10:46 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-30 07:52:57 +0200
commit8339384eeb62198465f2c869a244d40f0ed2e288 (patch)
treefc23c61737a25ffcc9b762b067ac5219fecf5bfd /mobile-widgets/qml/ThemeTest.qml
parent3d871ef0de72c175df555d68de09d551c307490e (diff)
downloadsubsurface-8339384eeb62198465f2c869a244d40f0ed2e288.tar.gz
mobile-widgets/qml: move fontMetrics to ThemeTest
fontMetrics is no longer used in production code, but still in the theme test page. Isolate fontMetrics in ThemeTest page. Signed-off-by: jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/ThemeTest.qml')
-rw-r--r--mobile-widgets/qml/ThemeTest.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile-widgets/qml/ThemeTest.qml b/mobile-widgets/qml/ThemeTest.qml
index 583a7fbc5..24b178b73 100644
--- a/mobile-widgets/qml/ThemeTest.qml
+++ b/mobile-widgets/qml/ThemeTest.qml
@@ -11,6 +11,10 @@ Kirigami.Page {
title: "Theme Information"
background: Rectangle { color: subsurfaceTheme.backgroundColor }
+ FontMetrics {
+ id: fontMetrics
+ }
+
GridLayout {
id: themetest
columns: 2