summaryrefslogtreecommitdiff
path: root/modules/controlcenter/appearance/AppearancePane.qml
diff options
context:
space:
mode:
authorATMDA <atdma2600@gmail.com>2025-11-15 21:24:48 -0500
committerATMDA <atdma2600@gmail.com>2025-11-15 21:24:48 -0500
commit699d7ef7fcabe7e38243143a3f1aab7fa55ad8c0 (patch)
tree4ec49cc1e13755c0265015a3ce32bd9a9ee3ae4c /modules/controlcenter/appearance/AppearancePane.qml
parentcontrolcenter: animation bug fix on flickables (diff)
downloadcaelestia-shell-699d7ef7fcabe7e38243143a3f1aab7fa55ad8c0.tar.gz
caelestia-shell-699d7ef7fcabe7e38243143a3f1aab7fa55ad8c0.tar.bz2
caelestia-shell-699d7ef7fcabe7e38243143a3f1aab7fa55ad8c0.zip
controlcenter: padding and spacing scale min-max
Diffstat (limited to '')
-rw-r--r--modules/controlcenter/appearance/AppearancePane.qml16
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/controlcenter/appearance/AppearancePane.qml b/modules/controlcenter/appearance/AppearancePane.qml
index 459f4c1..1e4ff0d 100644
--- a/modules/controlcenter/appearance/AppearancePane.qml
+++ b/modules/controlcenter/appearance/AppearancePane.qml
@@ -892,7 +892,7 @@ RowLayout {
anchors.centerIn: parent
width: parent.width - Appearance.padding.normal
horizontalAlignment: TextInput.AlignHCenter
- validator: DoubleValidator { bottom: 0.1; top: 2.0 }
+ validator: DoubleValidator { bottom: 0.5; top: 2.0 }
Component.onCompleted: {
text = (rootPane.paddingScale).toFixed(1);
@@ -901,7 +901,7 @@ RowLayout {
onTextChanged: {
if (activeFocus) {
const val = parseFloat(text);
- if (!isNaN(val) && val >= 0.1 && val <= 2.0) {
+ if (!isNaN(val) && val >= 0.5 && val <= 2.0) {
rootPane.paddingScale = val;
rootPane.saveConfig();
}
@@ -909,7 +909,7 @@ RowLayout {
}
onEditingFinished: {
const val = parseFloat(text);
- if (isNaN(val) || val < 0.1 || val > 2.0) {
+ if (isNaN(val) || val < 0.5 || val > 2.0) {
text = (rootPane.paddingScale).toFixed(1);
}
}
@@ -929,7 +929,7 @@ RowLayout {
Layout.fillWidth: true
implicitHeight: Appearance.padding.normal * 3
- from: 0.1
+ from: 0.5
to: 2.0
value: rootPane.paddingScale
onMoved: {
@@ -1090,7 +1090,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.1; top: 2.0 }
Component.onCompleted: {
text = (rootPane.spacingScale).toFixed(1);
@@ -1099,7 +1099,7 @@ RowLayout {
onTextChanged: {
if (activeFocus) {
const val = parseFloat(text);
- if (!isNaN(val) && val >= 0.1 && val <= 5.0) {
+ if (!isNaN(val) && val >= 0.1 && val <= 2.0) {
rootPane.spacingScale = val;
rootPane.saveConfig();
}
@@ -1107,7 +1107,7 @@ RowLayout {
}
onEditingFinished: {
const val = parseFloat(text);
- if (isNaN(val) || val < 0.1 || val > 5.0) {
+ if (isNaN(val) || val < 0.1 || val > 2.0) {
text = (rootPane.spacingScale).toFixed(1);
}
}
@@ -1128,7 +1128,7 @@ RowLayout {
implicitHeight: Appearance.padding.normal * 3
from: 0.1
- to: 5.0
+ to: 2.0
value: rootPane.spacingScale
onMoved: {
rootPane.spacingScale = spacingSlider.value;