diff options
author | Michael Brasser <mbrasser@ford.com> | 2018-06-26 14:34:36 -0500 |
---|---|---|
committer | Michael Brasser <michael.brasser@live.com> | 2018-07-19 14:49:52 +0000 |
commit | 9ad169e5bdb032b6f0850b7a7406dc9e3b68bb2f (patch) | |
tree | d13d2cfbfa7f63af781723930778be1289ad4bd4 | |
parent | 50d11f62e7ef4f1eb261a11c76dd39a271525a69 (diff) |
Expand docs on SnapOneItem
Change-Id: Ia8b96edd49467c2c54ef4e1a0332a94c9a3986a9
Reviewed-by: Albert Astals Cid <aacid@kde.org>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r-- | src/quick/items/qquicklistview.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/quick/items/qquicklistview.cpp b/src/quick/items/qquicklistview.cpp index 7c364692c2..4b4657dc43 100644 --- a/src/quick/items/qquicklistview.cpp +++ b/src/quick/items/qquicklistview.cpp @@ -2521,7 +2521,11 @@ void QQuickListView::setHighlightResizeDuration(int duration) the view. \li ListView.SnapOneItem - the view settles no more than one item away from the first visible item at the time the mouse button is released. This mode is particularly - useful for moving one page at a time. + useful for moving one page at a time. When SnapOneItem is enabled, the ListView will + show a stronger affinity to neighboring items when movement occurs. For example, a + short drag that snaps back to the current item with SnapToItem might snap to a + neighboring item with SnapOneItem. + \endlist \c snapMode does not affect the \l currentIndex. To update the |