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

QTableWidget header item alignment defaults to Qt::AlignHCenter|Qt::AlignVCenter visually but Designer shows AlignLeft

XMLWordPrintable

    • 3ecd3398218f4bddebeb034b4914699132cd5288 (qt/qttools/dev) 7eefe6232e2f7a189650b36cb321135442c71f06 (qt/tqtc-qttools/5.15)

      QTableWidget header item alignment defaults to Qt::AlignHCenter|Qt::AlignVCenter visually but Designer shows AlignLeft. This is because it is overriding this somewhere if it is not explicitly set so that it is aligned in the center for a header item.

      Either the default (where it is set) needs to be changed to reflect that it is AlignCenter or Qt Designer should see it as being AlignCenter by default and not AlignLeft.

        1. 2021-01-11-212328_526x356_scrot.png
          9 kB
          Cristian Maureira-Fredes
        2. 2021-01-11-212349_1402x761_scrot.png
          145 kB
          Cristian Maureira-Fredes
        3. qtbug85513.tar.gz
          607 kB
          Andy Shaw
        4. qtbug85513.ui
          1 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: