summaryrefslogtreecommitdiff
path: root/modules/controlcenter
diff options
context:
space:
mode:
Diffstat (limited to 'modules/controlcenter')
-rw-r--r--modules/controlcenter/appearance/AppearancePane.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/controlcenter/appearance/AppearancePane.qml b/modules/controlcenter/appearance/AppearancePane.qml
index 11eb2b0..e91448e 100644
--- a/modules/controlcenter/appearance/AppearancePane.qml
+++ b/modules/controlcenter/appearance/AppearancePane.qml
@@ -788,7 +788,7 @@ RowLayout {
anchors.centerIn: parent
width: parent.width - Appearance.padding.normal
horizontalAlignment: TextInput.AlignHCenter
- validator: DoubleValidator { bottom: 0.1; top: 5.0 }
+ validator: DoubleValidator { bottom: 0.7; top: 1.5 }
Component.onCompleted: {
text = (rootPane.fontSizeScale).toFixed(1);
@@ -797,7 +797,7 @@ RowLayout {
onTextChanged: {
if (activeFocus) {
const val = parseFloat(text);
- if (!isNaN(val) && val >= 0.1 && val <= 5.0) {
+ if (!isNaN(val) && val >= 0.7 && val <= 1.5) {
rootPane.fontSizeScale = val;
rootPane.saveConfig();
}
@@ -805,7 +805,7 @@ RowLayout {
}
onEditingFinished: {
const val = parseFloat(text);
- if (isNaN(val) || val < 0.1 || val > 5.0) {
+ if (isNaN(val) || val < 0.7 || val > 1.5) {
text = (rootPane.fontSizeScale).toFixed(1);
}
}
@@ -825,8 +825,8 @@ RowLayout {
Layout.fillWidth: true
implicitHeight: Appearance.padding.normal * 3
- from: 0.1
- to: 5.0
+ from: 0.7
+ to: 1.5
value: rootPane.fontSizeScale
onMoved: {
rootPane.fontSizeScale = fontSizeSlider.value;