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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important 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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes