[SailfishDevel] ListView boundaries
Michael Fuchs
michfu at gmx.at
Mon Oct 29 12:37:37 UTC 2018
Dylan Van Assche via Devel schrieb:
>
> Hi,
>
> I looked at the Qt docs of QML ListView and QML Flickable but I
> couldn't find a way to detect if the user is at the boundaries of a
> ListView. When you do that in a SilicaListView, the view fades out.
> How can I access that property?
http://doc.qt.io/qt-5.6/qml-qtquick-flickable.html#contentX-prop
contentX and contentY tell you where you are in a flickable.
http://doc.qt.io/qt-5/qml-qtquick-flickable.html#examples-of-contentx-and-contenty
Greetz,
Michael.
More information about the Devel
mailing list