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

Text shows extra blank line when using StyledText starting with <h1>

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.1
    • 5.2.1
    • None
    • Linux x64, OS X 10.9
    • qtdeclarative#stable: 9990c0f577f6a6a67ccebffb56ad1afc7a98ed1d

    Description

      The example below puts an extra blank line before the text.

      If I change it to RichText (or PlainText) it is ok.

      Also ok if I don't use the <h1>.

      import QtQuick 2.1
      
      Text {
          text: "<h1>hello world</h1>"
          textFormat: Text.StyledText
      }
      

      Attachments

        For Gerrit Dashboard: QTBUG-38531
        # Subject Branch Project Status CR V

        Activity

          People

            Unassigned Unassigned
            djf David Fletcher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes