From 59dacd8fae41a3a865888a98d18b92e95f710f39 Mon Sep 17 00:00:00 2001 From: zhuzihcu Date: Wed, 19 Apr 2023 18:24:08 +0800 Subject: [PATCH] update --- src/controls/FluToggleSwitch.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controls/FluToggleSwitch.qml b/src/controls/FluToggleSwitch.qml index 9ab67bc..69f8d80 100644 --- a/src/controls/FluToggleSwitch.qml +++ b/src/controls/FluToggleSwitch.qml @@ -60,9 +60,9 @@ FluControl { width: pressed ? 28 : 20 anchors{ left: selected ? undefined : parent.left - leftMargin: selected ? 10 : 0 + leftMargin: selected ? 20 : 0 right: selected ? parent.right : undefined - rightMargin: selected ? 0: 10 + rightMargin: selected ? 0: 20 } height: 20 radius: 10