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

QStyleOptionProgressBar is drawn in the wrong rectangle

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.4
    • Widgets: Layout
    • None
    • macOS monterey 12.6.
      Qt 6.2.4
    • macOS

    Description

      I'm trying to draw a progress bar in the QTableView using QStyleOptionProgressBar.  But the progress bar is always drawn in the wrong rectangle.

       
      I attached the screenshot and the demo that will help to reproduce the issue.

      The same code works well on Windows.

       

      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
            martinzrx zhao ruixiang
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes