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

Text with WordWrap and RichText isn't re-laid-out after width change

    XMLWordPrintable

Details

    • e3c6f39734ff54b2d7425f2edaaf6033ef2b1d9e

    Description

      With a snippet like so:

      import QtQuick 2.0
      
      Text {
          width: 500
          textFormat: Text.RichText
          wrapMode: Text.WordWrap
          text: "Elephant - Elephants are large mammals of the family Elephantidae and the order Proboscidea.
      ──────────────
      <small>Certain content that appears in this preview comes from Duck Duck Go. This content is provided &apos;as is&apos; and is subject to change or removal at any time.</small>"
      }
      

      Increasing the window size doesn't result in laying out the text again - it will only lay out again when it doesn't fit in the new size.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            saviq Michał Sawicz
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes