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

[Reg 6.7.0->6.7.1] Combination of Quick Layouts broken

    XMLWordPrintable

Details

    • All
    • 49f7eabea (dev), 909cf1f76 (6.8), dda1b0fde (6.7)

    Description

      The following demonstrates a regression in layout behaviour between 6.7.0 and 6.7.1: 

      import QtQuick
      import QtQuick.Controls
      import QtQuick.Layouts
      
      Window
      {
          width: 640
          height: 480
          visible: true
          title: qsTr("Qt 6.7.1 Layout Regression")
      
          ColumnLayout
          {
              anchors.fill: parent
      
              ColumnLayout
              {
                  Text
                  {
                      Layout.preferredWidth: 250
                      text: "Text Text Text Text Text Text Text Text " +
                          "Text Text Text Text Text Text Text Text " +
                          "Text Text Text Text Text Text Text Text " +
                          "Text Text Text Text Text Text Text Text " +
                          "Text Text Text Text Text Text Text Text "
                      wrapMode: Text.WordWrap
                  }
      
                  Rectangle
                  {
                      Layout.preferredWidth: 250
                      Layout.preferredHeight: 10
                      color: "red"
                  }
      
                  Rectangle
                  {
                      Layout.preferredWidth: 250
                      Layout.fillHeight: true
                      color: "green"
                  }
              }
          }
      }

       
      6.7.0:

      6.7.1:

       

      Attachments

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

        Activity

          People

            smd Jan Arve
            timangus Tim Angus
            Votes:
            3 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes