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

Wrong doc for QFontMetrics::elidedText

    XMLWordPrintable

Details

    • 0f38fe972eb20a26e9e5c67444c5be75ac6753ed

    Description

      QString QFontMetrics::elidedText(const QString & text, Qt::TextElideMode mode, int width, int flags = 0) const

      says:

      "The elide mark will follow the layout direction; it will be on the right side of the text for RIGHT-TO-LEFT layouts, and on the left side for right-to-left layouts."

      It should be: "; it will be on the right side of the text for LEFT-TO-RIGHT layouts...". It should be also mentioned, that it will happen so if we pass Qt::ElideRight as 'mode'.

      Notice, that similar method for a QFontMetricsF doesn't have that comment, but I think it should have it too.

      Attachments

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

        Activity

          People

            veshivas Venugopal Shivashankar
            jkobus Jarek Kobus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes