1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

DankGridView in file browser

This commit is contained in:
bbedward
2025-08-16 11:55:45 -04:00
parent d920c535f1
commit 4135250bb7

View File

@@ -193,7 +193,7 @@ DankModal {
}
}
GridView {
DankGridView {
id: fileGrid
width: parent.width
@@ -212,15 +212,6 @@ DankModal {
policy: ScrollBar.AlwaysOff
}
// Qt 6.9+ scrolling: flickDeceleration/maximumFlickVelocity only affect touch now
interactive: true
flickDeceleration: 1500 // Touch only in Qt 6.9+ // Lower = more momentum, longer scrolling
maximumFlickVelocity: 2000 // Touch only in Qt 6.9+ // Higher = faster maximum scroll speed
boundsBehavior: Flickable.DragAndOvershootBounds
boundsMovement: Flickable.FollowBoundsBehavior
pressDelay: 0
flickableDirection: Flickable.VerticalFlick
delegate: StyledRect {
id: delegateRoot