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

GridLayout lays out visible Items with width and height 0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 6.4.1
    • Quick: Layouts
    • None
    • All, macOS

    Description

      It seems there is a behavior change how GridLayout (and maybe other layouts as well) handles Items with effective size 0 that are visible=true.

      With Qt 6.2.6 the attached code renders like this:

      With Qt 6.4.1 it renders like this:

      Making the magenta rectangle to visible=false unifies the behavior.

      Not sure this is a bug or if there was a bug fixed that changes this behavior.

      Cheers,

      Max

      Attachments

        Issue Links

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

          Activity

            People

              kagro Kaj Grönholm
              hrabowski Maximilian Hrabowski
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes