From b6033d6eb65b300725608e868997a89013180b55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Thu, 27 May 2021 18:06:43 +0800 Subject: [PATCH] change default color --- doric-Qt/example/doric/resources/switch.qml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/doric-Qt/example/doric/resources/switch.qml b/doric-Qt/example/doric/resources/switch.qml index 06655e80..8e53ebdb 100644 --- a/doric-Qt/example/doric/resources/switch.qml +++ b/doric-Qt/example/doric/resources/switch.qml @@ -10,8 +10,8 @@ Switch { property var tag: "Switch" - property var offTintColor: "#42000000" - property var onTintColor: "#00ff00" + property var offTintColor: "#e6e6e6" + property var onTintColor: "#52d769" property var thumbTintColor: "white" Component.onCompleted: { @@ -23,9 +23,6 @@ Switch { } onCheckedChanged: { - console.log(onTintColor) - console.log(offTintColor) - console.log(thumbTintColor) if (checked) { this.indicator.children[0].color = onTintColor } else {