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

CSS bugs in QTextDocument

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.7.0
    • GUI: Printing
    • None

    Description

      Dear developers,

      I trying to print a table from QTextDocument::setHtml.

      The problem is:
      I need only horizontal lines between some rows of the table.

      Way#1: td

      {border-top:1px solid #000;}

      - doen't work
      Way#2: td

      {background: #000; height:1px; font-size:1px;}

      - work, but font-size is bigger than 1px.
      Way#3: hr

      {padding: 0; margin: 0; color: #000; height:1px;}

      - the padding is bigger than 0.
      Way#4: null.gif ???

      Please, fix the CSS or just tell me correct way.

      Thank you!

      http://clip2net.com/clip/m28395/1284999927-cliplx2212-5kb.png

      Attachments

        Issue Links

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

          Activity

            People

              kjernase Trond Kjernåsen (Inactive)
              grio Gregory
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes