parent
2c9feb7544
commit
eff13f2830
4 changed files with 20 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ import Quickshell
|
|||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
|
||||
ListView {
|
||||
StyledListView {
|
||||
id: root
|
||||
|
||||
required property TextField search
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ Item {
|
|||
color: "transparent"
|
||||
radius: Appearance.rounding.normal
|
||||
|
||||
ListView {
|
||||
StyledListView {
|
||||
id: list
|
||||
|
||||
model: ScriptModel {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
//@ pragma Env QS_NO_RELOAD_POPUP=1
|
||||
//@ pragma Env QT_QUICK_FLICKABLE_WHEEL_DECELERATION=10000
|
||||
|
||||
import "modules"
|
||||
import "modules/drawers"
|
||||
|
|
|
|||
17
widgets/StyledListView.qml
Normal file
17
widgets/StyledListView.qml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import "root:/config"
|
||||
import QtQuick
|
||||
|
||||
ListView {
|
||||
id: root
|
||||
|
||||
maximumFlickVelocity: 3000
|
||||
|
||||
rebound: Transition {
|
||||
NumberAnimation {
|
||||
properties: "x,y"
|
||||
duration: Appearance.anim.durations.normal
|
||||
easing.type: Easing.BezierSpline
|
||||
easing.bezierCurve: Appearance.anim.curves.standard
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue