Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-18145

Give feedback for common layout gotchas

    XMLWordPrintable

Details

    Description

      For example, it would be nice to detect if the user has specified bindings to the x, y, width or height properties for items managed by a layout. The docs say:

      Note: It is not recommended to have bindings to the x, y, width, or height properties of items in a layout, since this would conflict with the goals of Layout, and can also cause binding loops.

      The same applies to using vertical anchors for items managed by a vertical layout, and horizontal anchors for items managed by a horizontal layout.

      We could highlight the binding with a warning informing the user about what is wrong and how they can fix it.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes