Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. ScrollBar not responding to windows gestures or wheel
Forum Updated to NodeBB v4.3 + New Features

ScrollBar not responding to windows gestures or wheel

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 230 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    igor_stravinsky
    wrote on last edited by
    #1

    I've got a ListView with a ScrollBar in it that responds well to gestures or mouse clicks on Mac, and to mouse clicks on Windows, but is ignoring two finger swipe gestures on Windows, or movement by a scroll wheel. Any ideas why that would be, and how to fix it?

    [this is all in version 5.10 of quick controls 2]

    ListView {
                id: myList
                width: mainWindow.width ; height: parent.height
                model: documentManager.layoutDocuments
                
                ScrollBar.vertical: ScrollBar {
                    anchors.right: myList
                    active:true
                }
    
                delegate: Rectangle {
                    width: mainWindow.width; height: mainWindow.height
                    Image {
                        id: image
                        anchors.centerIn: parent
                        width: parent.width; height: parent.height
                        fillMode: Image.PreserveAspectFit
                        source:  model.data
                    }
    
                }
    }
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved