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

Faulty rendering of tab widget

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.14.2
    • Fix Version/s: None
    • Component/s: Widgets: Layout
    • Labels:
      None
    • Platform/s:
      macOS
    • Commits:
      15026f309b3c69b94de39e0cbeba09dd8bdd5e29 (qt/qtbase/5.15)

      Description

      Rendering of tab widget in Qt 5.14.2 on macOS is faulty. Most left/right inactive tab header always leaves an unnecessary gap (see pictures below). It was not a case before (up to 5.14.1).

      There is the same problem in both light and dark mode but in dark mode it is more clearly visible due to background colour.

      To reproduce - it is enough to open Qt Designer and put tab widget in new design. When used in compiled widget it behaves exactly the same as in Qt Designer preview.

       I also noticed now when looking at below pictures that active tab is shifted downwards by few pixels - it is unexpected behaviour as well.

       

       

       

       

       

        Attachments

        1. 1.png
          1.png
          25 kB
        2. 2.png
          2.png
          23 kB

          Issue Links

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

            Activity

              People

              Assignee:
              tpochep Timur Pocheptsov
              Reporter:
              kapitainsky kapitainsky
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes