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

QStyleOptionProgressBar is drawn in the wrong rectangle

XMLWordPrintable

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

      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.

       

        1. untitled.7z
          4 kB
          zhao ruixiang
        2. Snipaste_2022-10-21_22-04-04.png
          7 kB
          zhao ruixiang
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            martinzrx zhao ruixiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes