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

Qt::TextAlignmentRole has no effect on the icon set as the Qt::DecorationRole of an item

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • Some future release
    • 4.6.2
    • Widgets: Itemviews
    • None
    • Windows XP

    Description

      All is in the title ;o)

      I have set the TextAlignmentRole of my QTreeView items to Qt::AlignLeft | Qt::AlignTop.

      The text in my columns are correctly aligned in the top of the line, but the icon is still centered in the line. I think

      Attachments

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

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            fchantret Florent
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes