Results 1 to 2 of 2

Thread: QTextEdit with html - rich text issue

  1. #1

    Default QTextEdit with html - rich text issue

    Hi

    We have a QTextEdit with rich text from an html file, the problem is that html content has different font size (22pt, 40pt, 32pt, always loaded from html template) and we cannot control the page break properly (last line of the first scroll area appers only a half, scroll area is working perfect).

    Is there any way to control the page break in this situation?

    Thanks

    Sergio

  2. #2

    Default Re: QTextEdit with html - rich text issue

    I check with QMetricsFont and it doesn't work.

Similar Threads

  1. QTabbar with rich text / html tab text
    By Berryblue031 in forum Qt Programming
    Replies: 1
    Last Post: 21st May 2012, 10:46
  2. Replies: 1
    Last Post: 6th December 2011, 23:44
  3. how to use html tags(rich text) in QTableWidgetHeaderItem
    By ansmehta in forum Qt Programming
    Replies: 0
    Last Post: 13th December 2010, 11:20
  4. Doubt about QTextEdit and Rich Text
    By iamjayanth in forum Qt Programming
    Replies: 1
    Last Post: 8th April 2009, 09:11
  5. QTextEdit + paste rich text as plain text only
    By Yong in forum Qt Programming
    Replies: 2
    Last Post: 6th February 2008, 17:45

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.