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

Text: Using maximumLineCount and ElideRight lead to display issues when using an empty text

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.8.4, 5.1.0 Beta 1
    • None
    • Linux/X11 (Kubuntu 12.04 with Qt 4.8.4)

    Description

      If you use maximumLineCount and ElideRight to limit a text to for instance 2 lines, and then replace that text with an empty string, the elide dots (...) are still being displayed. Obviously the text is not too long when it is an empty string...

      I have attached a simple QML file that shows the issue. It starts with a text that is too long and replaces it with an empty string when clicked.

      Attachments

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

        Activity

          People

            aalpert Alan Alpert
            nilsson.troels@gmail.com Troels Nilsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes