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

Feature request: Add a method for automatic eliding of rich text.

    XMLWordPrintable

Details

    Description

      Eliding text in a QLabel do not render rich text like "<b>foo</b>" as bold.

      Please add a method for automatic eliding of rich text.

      myLabel->setText(fm.elidedText( "This_is_a_very_long <b>text</b>.", Qt::ElideMiddle, 100));

      This should return "text" as bold.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            engvolds Morten Engvoldsen (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes