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

TextEdit: rich text formatting issues

    XMLWordPrintable

Details

    • qtdeclarative/dev: 7f526c40345a360cd0f5fa5b707c66ec4612bbec

    Description

      Run the following test case. There are extra line breaks (empty line in the beginning and line breaks in the middle of each message).

      import QtQuick 2.1
      
      TextEdit {
          id: textEdit
      
          width: 360
          height: 360
      
          textFormat: Qt.RichText
      
          Timer {
              repeat: true
              running: true
              interval: 2000
              triggeredOnStart: true
              onTriggered: {
                  textEdit.text += "<font color='midnightblue'>&lt;<b>name</b>&gt; message...</font>"
              }
          }
      }
      

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes