We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6979009 commit 6f00bc3Copy full SHA for 6f00bc3
src/qml/controls/OptionSwitch.qml
@@ -12,6 +12,16 @@ Switch {
12
background: Rectangle {
13
radius: Math.floor(height / 2)
14
color: root.checked ? Theme.color.orange : Theme.color.neutral4
15
+
16
+ Rectangle {
17
+ visible: root.visualFocus
18
+ anchors.fill: parent
19
+ anchors.margins: -4
20
+ border.width: 2
21
+ border.color: Theme.color.purple
22
+ radius: 9
23
+ color: "transparent"
24
+ }
25
}
26
indicator: Rectangle {
27
property real _margin: Math.round((parent.height - height) / 2)
0 commit comments