mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile/UI: correctly update title bar font size
Simply force it to use the default font, which is bound to the application font, which we SHOULD be updating when changing the regular font size for the app, anyway. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f678be0374
commit
9be23b5f3f
2 changed files with 10 additions and 20 deletions
|
@ -665,9 +665,16 @@ if you have network connectivity and want to sync your data to cloud storage."),
|
|||
}
|
||||
}
|
||||
|
||||
property double regularFontsize: subsurfaceTheme.regularPointSize
|
||||
|
||||
FontMetrics {
|
||||
id: fontMetrics
|
||||
font.pointSize: subsurfaceTheme.regularPointSize
|
||||
font.pointSize: regularFontsize
|
||||
}
|
||||
|
||||
onRegularFontsizeChanged: {
|
||||
manager.appendTextToLog("regular font size changed to " + regularFontsize)
|
||||
rootItem.font.pointSize = regularFontsize
|
||||
}
|
||||
|
||||
function setupUnits() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue