9
imports/Spectral/Component/AutoListView.qml
Normal file
9
imports/Spectral/Component/AutoListView.qml
Normal file
@@ -0,0 +1,9 @@
|
||||
import QtQuick 2.9
|
||||
|
||||
ListView {
|
||||
ScrollHelper {
|
||||
anchors.fill: parent
|
||||
|
||||
flickable: parent
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,6 @@ MouseArea {
|
||||
flickable.interactive = false
|
||||
flickable.maximumFlickVelocity = 100000
|
||||
flickable.boundsBehavior = Flickable.StopAtBounds
|
||||
root.parent = flickable
|
||||
}
|
||||
|
||||
function scrollByPixelDelta(flickableItem, pixelDelta) {
|
||||
|
||||
@@ -6,3 +6,4 @@ AutoImage 2.0 AutoImage.qml
|
||||
AutoLabel 2.0 AutoLabel.qml
|
||||
AutoTextArea 2.0 AutoTextArea.qml
|
||||
ScrollHelper 2.0 ScrollHelper.qml
|
||||
AutoListView 2.0 AutoListView.qml
|
||||
|
||||
Reference in New Issue
Block a user