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

Qt-4.4.x: Alternating row color problem on Mac

    XMLWordPrintable

Details

    • macOS

    Description

      With recent versions of Qt QTreeView::setAlternatingRowColors(true) will paint alternating colors to the entire viewport on Mac, but not on other platforms.

      To reproduce this, add one line to main.cpp in simpletreemodel example:
      view.setAlternatingRowColors(true);

      This "to the bottom" style is in line with modern mac application, such as itunes, but it would be nice if there was an easy way to limit the alternating rows to the ones that had content.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            dettman Dean Dettman (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes