mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
QML UI: keep the fontMetric
We reference it elsewhere. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1246324897
commit
ee75812b5a
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue