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

Should raise a warning if you use an anchorMargin with no corresponding anchor

XMLWordPrintable

      Nice problem from the current Qt Quick training.

      If you have code like this

      Text {
         anchors.leftMargin: 30
          text: "hello"
      }
      

      It does nothing because there is no anchors.left defined. Could this kind of code show a warning e.g. anchors.leftMargin used while anchors.left is [undefined]

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

            brasser Michael Brasser (closed Nokia identity) (Inactive)
            designker Nigel Hietala
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes