aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/universal/SwipeDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/universal/SwipeDelegate.qml')
-rw-r--r--src/imports/controls/universal/SwipeDelegate.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/universal/SwipeDelegate.qml b/src/imports/controls/universal/SwipeDelegate.qml
index 659c0d2e..492e2e3a 100644
--- a/src/imports/controls/universal/SwipeDelegate.qml
+++ b/src/imports/controls/universal/SwipeDelegate.qml
@@ -43,9 +43,9 @@ import QtQuick.Controls.Universal 2.5
T.SwipeDelegate {
id: control
- implicitWidth: Math.max(implicitBackgroundWidth,
+ implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
implicitContentWidth + leftPadding + rightPadding)
- implicitHeight: Math.max(implicitBackgroundHeight,
+ implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
implicitContentHeight + topPadding + bottomPadding,
implicitIndicatorHeight + topPadding + bottomPadding)