diff options
Diffstat (limited to 'src/imports/controls/material/SwitchDelegate.qml')
-rw-r--r-- | src/imports/controls/material/SwitchDelegate.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/material/SwitchDelegate.qml b/src/imports/controls/material/SwitchDelegate.qml index 077901b6..1507e382 100644 --- a/src/imports/controls/material/SwitchDelegate.qml +++ b/src/imports/controls/material/SwitchDelegate.qml @@ -47,8 +47,8 @@ T.SwitchDelegate { implicitWidth: Math.max(implicitBackgroundWidth, implicitContentWidth + leftPadding + rightPadding) implicitHeight: Math.max(implicitBackgroundHeight, - Math.max(implicitContentHeight, - implicitIndicatorHeight) + topPadding + bottomPadding) + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) padding: 16 verticalPadding: Material.switchDelegateVerticalPadding |