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

QHeaderView does not properly respect setMin/MaximumSectionSize

XMLWordPrintable

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

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes