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

QStyledItemDelegate has rendering problems with font customized via FontRole

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • Some future release
    • 4.6.0
    • Widgets: Itemviews
    • None
    • Windows XP with Large System Font

    Description

      • Use Windows XP
      • Set the system font to "Large"
      • Please open the attached ui file in the Windows Version of Qt Creator
      • Show Preview

      => The first item is rendered in a wrong font size. Please note that the item has a bold font set. The eliding seems to be calculated from the correct font metrics though (see screenshot).

      • this only happens if a stylesheet is set
      • Workaround: Unset the stylesheet or use setItemDelegate(new QItemDelegate()) if no item styling is actually needed

      => QStyledItemDelegate seems to be buggy

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            njeisecke Nils Jeisecke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes