From 1aacdc7ec2e4e21bd5141db0533b8d17ca160950 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Wed, 4 Oct 2017 13:37:18 +0200 Subject: make switch a little more pretty --- framework/qml/Switch.qml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/framework/qml/Switch.qml b/framework/qml/Switch.qml index 2803c84a..ad24054c 100644 --- a/framework/qml/Switch.qml +++ b/framework/qml/Switch.qml @@ -16,17 +16,15 @@ T.Switch { Rectangle { width: parent.width height: parent.height - radius: 5 color: root.checked ? Kube.Colors.highlightColor : Kube.Colors.buttonColor + radius: 2 } Rectangle { height: parent.height width: height - x: root.visualPosition * Kube.Units.gridUnit - - radius: 5 + radius: 2 color: Kube.Colors.viewBackgroundColor border.width: 1 border.color: Kube.Colors.buttonColor -- cgit v1.2.3