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

QStyledItemDelegate::sizeHint() - QStyle::State_Selected flag is not set in QStyleOptionViewItem parameter.

XMLWordPrintable

      When implementing the sizeHint() function of a derived QStyledItemDelegate
      that is used for a QTreeView, the passed option of type StyleOptionViewItem and it's member state is not set according to if the item is selected or not. It should be set true if the item is selected, but it's always set as false.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            tuomas.vaarala Tuomas Vaarala
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes