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

QTreeWidget/QTableWidget: Add property for setting column alignment

    XMLWordPrintable

Details

    Description

      In Qt 3, it was possible to set the alignment for a column using the QListView::setColumnAlignment() function. However, there is no equivalent for this in Qt 4 and it seems the only way this can be achieved is by setting the TextAlignmentRole on the individual indices. It would be nice if there was a convenience function available for this, perhaps in QHeaderView.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            jabarron Jason Barron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes