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

QFontMetrics::elideText falsely eliding text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.4.1
    • GUI: Text handling
    • None
    • Mac OSX
    • macOS

      If you take a string like "ポイント(&H)" which has a mnemonic in it, calculate the width of the string, with the mnemonic hidden, then pass that width into QFontMetrics:::elideText, also with the option to hide the mnemonic, it will elide the text anyways, even though it has the space to properly draw it.

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

            esabraha Eskil Abrahamsen Blomfeldt
            nteeuwentableau Nicolas Teeuwen
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes