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

[macOS] QTabWidget uses tab's title space badly when a tab is closable and has an icon

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.9.2, 5.10.0 Beta 3
    • QPA
    • macOS
    • macOS

    Description

      QTabWidget does not make use of all available space when a tab is closable and has an icon. Under these conditions a moderately long title will get elided even though it would fit in the space available.

      Steps to reproduce:

      • Run the sample attached on macOS.
      • Add tabs using the button on the UI.
      • Observe how the tab widget manages the tab titles.
        EXPECTED: A tab title will be fully visible when there is enough space available for it.
        ACTUAL: The title text is elided even though there is space available.

      This bug might be related to QTBUG-63445

      Attachments

        Issue Links

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

          Activity

            People

              tpochep Timur Pocheptsov
              risto.sipola Risto Sipola
              Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes