mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
3d871ef0de
commit
8339384eeb
2 changed files with 4 additions and 3 deletions
|
@ -11,6 +11,10 @@ Kirigami.Page {
|
||||||
title: "Theme Information"
|
title: "Theme Information"
|
||||||
background: Rectangle { color: subsurfaceTheme.backgroundColor }
|
background: Rectangle { color: subsurfaceTheme.backgroundColor }
|
||||||
|
|
||||||
|
FontMetrics {
|
||||||
|
id: fontMetrics
|
||||||
|
}
|
||||||
|
|
||||||
GridLayout {
|
GridLayout {
|
||||||
id: themetest
|
id: themetest
|
||||||
columns: 2
|
columns: 2
|
||||||
|
|
|
@ -46,9 +46,6 @@ Kirigami.ApplicationWindow {
|
||||||
hidePassiveNotification();
|
hidePassiveNotification();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
FontMetrics {
|
|
||||||
id: fontMetrics
|
|
||||||
}
|
|
||||||
visible: false
|
visible: false
|
||||||
|
|
||||||
BusyIndicator {
|
BusyIndicator {
|
||||||
|
|
Loading…
Add table
Reference in a new issue