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

Elided text not shown correctly with padding

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 4.8.4, 5.0.2
    • Widgets: Style Sheets
    • None
    • Windows 7

    Description

      The style sheet examples show how to customize QTabBar. Setting the padding for QTabBar that has the elide mode set to something else then Qt::ElideNone is not working correctly. The text will be hidden under the padding as shown in the attached screenshot. It would be expected that the padding moves the text and adds the ellipsis at the end of text when Qt::ElideRight is used.

      Attached application reproduces the issue.

      Attachments

        1. dockStyle.zip
          2 kB
        2. ElideRight.png
          ElideRight.png
          10 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
              qtcomsupport Qt Support
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes