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

Mistake in the 3rd example of DragHandler QML

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.13.0 Beta 1
    • 5.13.0 Alpha 1
    • Documentation
    • None

      There is a mistake in the third example of DragHandler QML Type. centroid has a property position, but doesn't have property called centroid.

      Incorrect

      text: handler.centroid.centroid.x.toFixed(1) + "," + handler.centroid.position.y.toFixed(1)
      

      Correct

      text: handler.centroid.position.x.toFixed(1) + "," + handler.centroid.position.y.toFixed(1)
      

        For Gerrit Dashboard: QTBUG-73900
        # Subject Branch Project Status CR V

            treinio Topi Reiniö
            henning Henning Gründl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes