aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/SwipeDelegate.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-05-11 14:54:55 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2017-05-12 07:55:00 +0000
commite9b730c8f76cc9ba4ada40515b398291daca24a2 (patch)
treecc5008929a01cbd4b12c3de97fe597e5a5260c0a /src/imports/controls/SwipeDelegate.qml
parent2bc3495e7e2272b5720de4df9f8d63bf77eebd46 (diff)
Default: sync SwipeDelegate's implicit size with other delegates
Change-Id: Ic2fed53bd008de35c1622f764d0eb299763e9f54 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/SwipeDelegate.qml')
-rw-r--r--src/imports/controls/SwipeDelegate.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/controls/SwipeDelegate.qml b/src/imports/controls/SwipeDelegate.qml
index 08320454..01f21130 100644
--- a/src/imports/controls/SwipeDelegate.qml
+++ b/src/imports/controls/SwipeDelegate.qml
@@ -71,6 +71,8 @@ T.SwipeDelegate {
}
background: Rectangle {
+ implicitWidth: 100
+ implicitHeight: 40
color: control.visualFocus
? (control.down ? Default.focusPressedColor : Default.delegateFocusColor)
: (control.down ? Default.delegatePressedColor : Default.backgroundColor)