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

QTabWidget and QTabBar's elide mode doesn't work correctly with CSS padding and border

    XMLWordPrintable

Details

    Description

      When the elide mode is set to ElideRight (or ElideLeft or ElideMiddle) for a QTabWidget or a QTabBar, and a CSS padding and/or border is added to the tabs, the title text gets cut off at the edges of the tabs.

      Attached is a .ui file which demonstrates this behaviour and a screenshot.

      Attachments

        1. tabdemo.png
          tabdemo.png
          11 kB
        2. tabdemo.ui
          2 kB

        Issue Links

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

          Activity

            People

              andysh Andy Shaw
              drdydx Lukie Peters
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes