Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1537

Qt.AlignRight | Qt.AlignVCenter is ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.15.2
    • PySide
    • None
    • Windows

      I am learning Model/View programming. I was working on getting the alignment set for amounts, but I wanted to use the combination of centered vertical and right horizontal

      When I use Qt.AlignRight | Qt.AlignVCenter the the QAbstractTableModel subclass data() method it ignores both. Using only one works.

      elif role == Qt.TextAlignmentRole:
      if index.column() in (column list)
          return Qt.AlignRight
      

        1. pyside1537_minimal.zip
          3 kB
          Ed Lipson
        2. pyside1537_6.zip
          4 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            edlipson Ed Lipson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes