diff options
Diffstat (limited to 'src/imports/nativestyle/controls/DefaultCheckBox.qml')
-rw-r--r-- | src/imports/nativestyle/controls/DefaultCheckBox.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/nativestyle/controls/DefaultCheckBox.qml b/src/imports/nativestyle/controls/DefaultCheckBox.qml index b5de15d4..c75e755e 100644 --- a/src/imports/nativestyle/controls/DefaultCheckBox.qml +++ b/src/imports/nativestyle/controls/DefaultCheckBox.qml @@ -58,6 +58,7 @@ T.CheckBox { indicator: NativeStyle.CheckBox { control: control + y: control.topPadding + (control.availableHeight - height) >> 1 contentWidth: contentItem.implicitWidth contentHeight: contentItem.implicitHeight useNinePatchImage: false @@ -81,6 +82,7 @@ T.CheckBox { indicator && !mirrored ? indicator.width + spacing : 0 } + topPadding: nativeIndicator ? indicator.contentPadding.top : 0 rightPadding: { if (nativeIndicator) indicator.contentPadding.right |