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

QHeaderView::sectionSizeFromContents() return too wide QSize with Windows Vista style when sorting is enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 4.7.2, 4.8.x, 5.0.0, 5.2.1
    • Widgets: Itemviews
    • Windows 7 x64, Qt 4.7.2.
    • f7af9fb63244b114653c157d3eef3e6c64f3196a

    Description

      Issue can be seen easily by creating QTreeView and enabling sorting. When using resizeColumnToContents() it leaves room for sort indicator on right side of the text, but sort indicator is actually on top of the text. When sorting is disabled this works fine.

      Attachments

        1. Untitled.png
          24 kB
          Mitch Curtis
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            andysh Andy Shaw
            timit Timi Tuohenmaa
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes