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

Qt Quick Designer anchor buttons produce unexpected results

    XMLWordPrintable

Details

    •  d89604bb541bbf5c2c4af8e8b0cdb3cc4f1cd8d8

    Description

      To reproduce the behavior in Qt Quick Designer (visual editor):

      1. Create a rectangle and anchor it to the top left of its parent.
      2. Copy-paste the rectangle.
      3. In Layout, deleselect the top anchor and select the bottom anchor, insted.

      -> The image height is reduced to zero (the property disappears from the code), and the rectangle does not move to the bottom of the screen.

      In the visual editor, the height property is read-only and cannot be modified.

      Even if, after two, you move the rectangle manually to the bottom of the page, the height property dispears.

      This also happens even if you remove the old anchor settings first, by clicking the anchor buttons.

      Similar things happen if you change the other anchors.

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            leenam Leena Miettinen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes