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

setAlternatingRowColors(true) and header()->setStretchLastSection(false) in QTreeView draws empty lines up to the right border of the viewport and full lines only up to the last column.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • Some future release
    • 4.7.1, 5.12.2, 6.2.2
    • Widgets: Itemviews
    • None
    • Mac OS X Snow Leopard
      Qt 4.7.1 Open Source Cocoa

    Description

      Try for example the treeview demo with header()->setStretchLastSection(false). Then expand the windows so that there is an empty space behind the last column and below the last line. You will see that the background for every other line draws differently in the full lines and the empty lines.

      Attachments

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

        Activity

          People

            richard Richard Moe Gustavsen
            petr.broz Petr Brož
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes