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

Column height is -spacing when all items are visible: false

    XMLWordPrintable

Details

    Description

      The qml code:

      Column {
          id: c2
          spacing: 20 // Changing this changes the value of height
          Text { text:  "2.1 title"; visible: false}
          Text { text:  "2.2 title"; visible:  false}
          Text { text:  "2.3 title"; visible:  false}
      }
      

      results in c2 being of height -20. This certainly appears to be unexpected (one would expect 0).

      Attachments

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

        Activity

          People

            aalpert-nokia Alan Alpert (closed Nokia identity) (Inactive)
            dajansen Damian Jansen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes