aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/CheckDelegate.qml
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2018-01-09 21:52:12 +0100
committerLiang Qi <liang.qi@qt.io>2018-01-09 21:54:50 +0100
commitef5e426bed3b1362394c7cc0c97522bb20cacff0 (patch)
tree0450da77b661d2e97eb7628b4c667ee22c6dc443 /src/imports/controls/CheckDelegate.qml
parent2cdec3eadc7ac1d1e5c4cd505b60196e44df1a7d (diff)
parent10b8f6af42a1cd80273d0a2d36e75b79078b5994 (diff)
Merge remote-tracking branch 'origin/5.10' into dev
Conflicts: .qmake.conf src/quicktemplates2/qquickabstractbutton_p.h Change-Id: I265cbd2ce51beaf2afef99292c2e2798dadb4ba3
Diffstat (limited to 'src/imports/controls/CheckDelegate.qml')
-rw-r--r--src/imports/controls/CheckDelegate.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/CheckDelegate.qml b/src/imports/controls/CheckDelegate.qml
index 5fe39101..087c9d75 100644
--- a/src/imports/controls/CheckDelegate.qml
+++ b/src/imports/controls/CheckDelegate.qml
@@ -76,7 +76,7 @@ T.CheckDelegate {
implicitWidth: 28
implicitHeight: 28
- x: text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2
+ x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding
y: control.topPadding + (control.availableHeight - height) / 2
color: control.down ? control.palette.light : control.palette.base