diff options
Diffstat (limited to 'src/quickcontrols/material/Switch.qml')
-rw-r--r-- | src/quickcontrols/material/Switch.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/quickcontrols/material/Switch.qml b/src/quickcontrols/material/Switch.qml index d27621a74f..29a1297684 100644 --- a/src/quickcontrols/material/Switch.qml +++ b/src/quickcontrols/material/Switch.qml @@ -34,7 +34,8 @@ T.Switch { Ripple { x: parent.handle.x + parent.handle.width / 2 - width / 2 y: parent.handle.y + parent.handle.height / 2 - height / 2 - width: 28; height: 28 + width: 28 + height: 28 pressed: control.pressed active: enabled && (control.down || control.visualFocus || control.hovered) color: control.checked ? control.Material.highlightedRippleColor : control.Material.rippleColor |