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

It should be possible to find out in QML which of the item's anchors are "connected"

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.7.0, 4.7.1
    • None
    • Qt 4.7.0

      There should be a way to figure out if Item's anchors are "connected", so that it would be possible to avoid trying to set the size explicitly when anchors are handling the width. This way it would be possible to avoid binding loops. There is "Anchors usedAnchors()" method in QDeclarativeAnchors, but is is not possible to call it from QML. That, or any other way to do this would be great. Also enum Anchor should probably be exposed to QML.

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

            martjone Martin Jones (closed Nokia identity) (Inactive)
            aalto Simo-Pekka Aalto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes