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

Automatic addition of ellipsis when a text on the UI is truncated

    XMLWordPrintable

Details

    Description

      Ellipsis be used always when a text on the UI is truncated (elided). Even though translations will be done so that truncations are minimized, there is always the possibility that even the shortest translations will truncate when text is e.g. zoomed.

      The current functionality in Qt requires that the developer calls for ellided text when ever it is needed. Because it cannot be known beforehand which strings will truncate in any language, ellided text must be enabled for every string. This requires a lot of effort from application developers and is very error prone.

      In future versions of QML, the elide property should be set to ElideRight in LTR languages, and to ElideLeft in RTL languages.

      Attachments

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

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            hhartz Henrik Hartz (closed Nokia identity) (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes