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

QTreeView : setAlternatingRowColors(True) colors empty rows on Mac

    XMLWordPrintable

Details

    • macOS

    Description

      Attaching a pyqt script where I have created a simple QTreeView with some dummy items.

      tree_view.py

      This is how it looks on Mac : 

      This is how it looks on Windows (similar behaviour on Linux also):

      Notice that empty rows are being colored on Mac.

      Attached a simple C++ app too.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            sohamkanji Soham Kanji
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes