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

QHeaderView sort indicator and text overlap if both aligned right

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      308845cd720969a5f3456caa8cf72023f120aecf (qt/qtbase/dev) 0f6a9fdc2f1a20d590e51bbc3eee93c2ffeb1850 (qt/qtbase/6.2)

      Description

      Sort indicator isn't taken into account when painting text for a QHeaderView section when QHeaderView::setDefaultAlignment(Qt::AlignRight) and stylesheet positions sort indicator on the right side of the text. As a result the sort indicator and text overlap.

      Steps to reproduce the issue:

      • Run the attached example & observe the table view header

        Attachments

        1. qtbug84117.PNG
          qtbug84117.PNG
          4 kB
        2. qtbug84117.zip
          1 kB

          Issue Links

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

            Activity

              People

              Assignee:
              vhilshei Volker Hilsheimer
              Reporter:
              miikapernu Miika Pernu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes