Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-25042

Both onMovingHorizontallyChanged and onMovingVerticallyChanged() are received, even if Flickable element is moved only to one direction

    XMLWordPrintable

Details

    Description

      With following code example, both onMovingHorizontallyChanged and onMovingVerticallyChanged are received, when moving element directly to one direction.

      import QtQuick 1.0
      
      Flickable {
          width: 500; height: 500
          contentWidth: image.width; contentHeight: image.height
      
          Image { id: image; source: "image.png" }
          onMovingHorizontallyChanged: console.log("Move Horizontally")
          onMovingVerticallyChanged: console.log("Move Verticatally")
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtcomsupport Qt Support
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes