aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/SwipeDelegate.qml
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2016-04-26 11:27:44 +0200
committerMitch Curtis <mitch.curtis@theqtcompany.com>2016-04-26 13:48:30 +0000
commita0f84f0815d4a50c8602eeae85c6b76bc3e763d8 (patch)
tree70de7b697002bf069b76db4c3f06f039037d829c /src/imports/controls/material/SwipeDelegate.qml
parent345fb099aa08c72d380fed3330cc8b9d088a3cb4 (diff)
Fix SwipeDelegate spacing to match other delegates
Change-Id: I759ce627d1ec2d7ecd0bea2ea0fdc40e9a7be1c3 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/imports/controls/material/SwipeDelegate.qml')
-rw-r--r--src/imports/controls/material/SwipeDelegate.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/material/SwipeDelegate.qml b/src/imports/controls/material/SwipeDelegate.qml
index 858c914d..bc5b502f 100644
--- a/src/imports/controls/material/SwipeDelegate.qml
+++ b/src/imports/controls/material/SwipeDelegate.qml
@@ -54,8 +54,8 @@ T.SwipeDelegate {
//! [contentItem]
contentItem: Text {
- leftPadding: !control.mirrored ? (control.indicator ? control.indicator.width : 0) + control.spacing : 0
- rightPadding: control.mirrored ? (control.indicator ? control.indicator.width : 0) + control.spacing : 0
+ leftPadding: !control.mirrored ? (control.indicator ? control.indicator.width + control.spacing : 0) : 0
+ rightPadding: control.mirrored ? (control.indicator ? control.indicator.width + control.spacing : 0) : 0
text: control.text
font: control.font