aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/Settings.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml/Settings.qml')
-rw-r--r--mobile-widgets/qml/Settings.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml
index 37c514803..65940cc67 100644
--- a/mobile-widgets/qml/Settings.qml
+++ b/mobile-widgets/qml/Settings.qml
@@ -262,6 +262,7 @@ Kirigami.ScrollablePage {
enabled: PrefDisplay.mobile_scale !== 0.85
onClicked: {
PrefDisplay.mobile_scale = 0.85
+ fontMetrics.font.pointSize = subsurfaceTheme.basePointSize * PrefDisplay.mobile_scale;
}
}
SsrfButton {
@@ -269,6 +270,7 @@ Kirigami.ScrollablePage {
enabled: PrefDisplay.mobile_scale !== 1.0
onClicked: {
PrefDisplay.mobile_scale = 1.0
+ fontMetrics.font.pointSize = subsurfaceTheme.basePointSize * PrefDisplay.mobile_scale;
}
}
SsrfButton {
@@ -276,6 +278,7 @@ Kirigami.ScrollablePage {
enabled: PrefDisplay.mobile_scale !== 1.15
onClicked: {
PrefDisplay.mobile_scale = 1.15
+ fontMetrics.font.pointSize = subsurfaceTheme.basePointSize * PrefDisplay.mobile_scale;
}
}
}