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

childrenRect does not take children's transforms into account

    XMLWordPrintable

Details

    Description

      The following should print
      Height of children: 320
      but it doesn't.

      Rectangle {
          width: 640; 
          height: 480;
          color: "blue"
          Component.onCompleted: {
              print("Height of children: " + childrenRect.height);
          }
      
          Rectangle {
              anchors.fill: parent
              scale: 0.5
              rotation: 90
              color: "red"
          }
      }
      

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mathiasm Mathias Malmqvist
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes