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

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

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes