usable
This commit is contained in:
@@ -9,7 +9,7 @@ import Quickshell.Services.Pipewire
|
||||
|
||||
|
||||
|
||||
ScrollView {
|
||||
Flickable {
|
||||
//anchors.fill: parent
|
||||
|
||||
required property list<string> hyprcmds
|
||||
@@ -18,7 +18,23 @@ ScrollView {
|
||||
|
||||
property string dir: "/home/nathan/Pictures/Wallpaper/"
|
||||
|
||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOn
|
||||
implicitHeight: lay.height
|
||||
implicitWidth: 750
|
||||
interactive: true
|
||||
|
||||
contentWidth: lay.width
|
||||
|
||||
flickDeceleration: 5000
|
||||
|
||||
contentX: 100
|
||||
|
||||
WheelHandler {
|
||||
target: root
|
||||
//property: "contentX"
|
||||
onWheel: {
|
||||
console.log("test")
|
||||
}
|
||||
}
|
||||
|
||||
Process {
|
||||
id: ls
|
||||
@@ -33,12 +49,16 @@ ScrollView {
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
id: lay
|
||||
|
||||
Repeater {
|
||||
id: rep
|
||||
model: 0
|
||||
|
||||
WrapperMouseArea {
|
||||
onWheel: (e) => {
|
||||
root.flick(e.angleDelta.y * 15, 0)
|
||||
}
|
||||
ClippingWrapperRectangle {
|
||||
radius: 10
|
||||
implicitWidth: 192 * 2; implicitHeight: 108 * 2
|
||||
|
||||
Reference in New Issue
Block a user