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

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

    XMLWordPrintable

Details

    Description

      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]

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes