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

Regression in Loader, does not respect anchors and fails to update the size of it's source component

    XMLWordPrintable

Details

    • 633a5cf6d8197105d6392dbf56bf0f29f9c84da1

    Description

      import Qt 4.7

      Rectangle {
          width: 300
          height: 200
          color: "blue"
          Loader {  // <-- size (0, 0)
      //        Rectangle { anchors.fill: parent; color: "yellow" }
              anchors.fill: parent
              anchors.margins: 10
              sourceComponent: Component {
                  Rectangle { color: "red" } // <-- size (0, 0)
              }
          }
      }
      

      Attachments

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

        Activity

          People

            jpetrell Joona Petrell
            jpetrell Joona Petrell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes