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

Elided text not shown correctly with padding

XMLWordPrintable

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

      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.

        1. dockStyle.zip
          2 kB
          Qt Support
        2. ElideRight.png
          10 kB
          Qt Support
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            andysh Andy Shaw
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes