From 142cfea2ee8b50b5ef2e22b9de4fe4c461411ff2 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 14 Jul 2017 00:02:33 +0200 Subject: Use a ScrollHelper to fix scrolling on listviews Because the standard scrolling is so unusable depending on the input device we replace it by something custom that is fairly similar to what QQC1 ScrollView did. Using a ScrollView sucks in many ways, including that you have to wrap all sorts of things which is just code wise not great at all. The ScrollHelper can instead be attached to any existing flickable to override it's scrolling behaviour, so we can also silently drop it once the default flickable behaviour starts to make sense. --- framework/qmldir | 1 + 1 file changed, 1 insertion(+) (limited to 'framework/qmldir') diff --git a/framework/qmldir b/framework/qmldir index b8e7345f..04893ec9 100644 --- a/framework/qmldir +++ b/framework/qmldir @@ -30,6 +30,7 @@ View 1.0 View.qml AutocompleteLineEdit 1.0 AutocompleteLineEdit.qml AttachmentDelegate 1.0 AttachmentDelegate.qml ListView 1.0 ListView.qml +ScrollHelper 1.0 ScrollHelper.qml singleton Messages 1.0 Messages.qml singleton Colors 1.0 Colors.qml singleton Icons 1.0 Icons.qml -- cgit v1.2.3