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

QWhatsThis:: HTML text wraps if the cell width is not specified. HTML should not wrap unless wrapping is explicitly defined in the HTML tag

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • Some future release
    • 4.5.3
    • GUI: Text handling
    • None
    • Windows 7 x64 or Windows XP and using either nmake or mingw32 build.

    Description

      If HTML is used inside a QString and passed in to QWhatsThis::showText(), the HTML is not rendered properly. Text is wrapped, even without the wrapping tag being specified.

      e.g.

      <html>
      <body>

      <table border='1' ><tr>%1</tr><tr>%2</tr><tr>%3</tr>
      <th>ThisShouldNotWrap</th>
      <td>ThisShouldNotWrap</td>
      <td>ThisShouldNotWrap</td>
      </body>
      </html>

      If this HTML is entered into a test HTML renderer, the result is that the text in each cell is not wrapped.

      The following page can be used to test this:-

      http://www.w3schools.com/html/tryit.asp?filename=tryhtml_formattingch

      The problem manifests on Qt for Windows using 4.6.0-rc1

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            cattell Matthew Cattell (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes