diff options
Diffstat (limited to 'framework/qml/Switch.qml')
-rw-r--r-- | framework/qml/Switch.qml | 6 |
1 files 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 { | |||
16 | Rectangle { | 16 | Rectangle { |
17 | width: parent.width | 17 | width: parent.width |
18 | height: parent.height | 18 | height: parent.height |
19 | radius: 5 | ||
20 | color: root.checked ? Kube.Colors.highlightColor : Kube.Colors.buttonColor | 19 | color: root.checked ? Kube.Colors.highlightColor : Kube.Colors.buttonColor |
20 | radius: 2 | ||
21 | } | 21 | } |
22 | 22 | ||
23 | Rectangle { | 23 | Rectangle { |
24 | height: parent.height | 24 | height: parent.height |
25 | width: height | 25 | width: height |
26 | |||
27 | x: root.visualPosition * Kube.Units.gridUnit | 26 | x: root.visualPosition * Kube.Units.gridUnit |
28 | 27 | radius: 2 | |
29 | radius: 5 | ||
30 | color: Kube.Colors.viewBackgroundColor | 28 | color: Kube.Colors.viewBackgroundColor |
31 | border.width: 1 | 29 | border.width: 1 |
32 | border.color: Kube.Colors.buttonColor | 30 | border.color: Kube.Colors.buttonColor |