move styled list view

This commit is contained in:
Benjamin Palko 2025-09-04 13:20:36 -04:00
parent 69cb49c584
commit 35a24587b4
3 changed files with 31 additions and 4 deletions

View file

@ -0,0 +1,22 @@
import QtQuick
import QtQuick.Controls
ListView {
id: root
clip: true
maximumFlickVelocity: 3000
ScrollBar {
orientation: root.orientation == ListView.Vertical ? Qt.Vertical : Qt.Horizontal
}
rebound: Transition {
NumberAnimation {
properties: "x,y"
duration: 400
easing.type: Easing.BezierSpline
easing.bezierCurve: [0.2, 0, 0, 1, 1, 1]
}
}
}