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

QHeaderView does not properly respect setMin/MaximumSectionSize

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.11.0 Alpha
    • 5.9.0
    • Widgets: Itemviews
    • None

    Description

      Some issues found in QHeaderView:

      When using setMin/MaximumSectionSize, the current section sizes are not adjusted.

      resizeSection() does not check for the bounds which results in strange results depending on the current resize mode (if a stretch section is available, the section size is adjusted to min/max but the first sectionResized Signal contains the wrong size, otherwise the size is not adjusted to min/max)

      When no minimumSectionSize is set, then a system-default size is used. This size is system-dependent (and can be very high on some systems) - this sometimes breaks tst_qheaderview.

      This is a follow-up from QTBUG-64036

      Attachments

        Issue Links

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

          Activity

            People

              richard Richard Moe Gustavsen
              chehrlic Christian Ehrlicher
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes