Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, March 2002
QTextEdit Font Problem


Message 1 in thread

Hi All,
   This question was posted earlier by someone else but I could not get the
answer from the archives. Please let me know how to overcome the following
problem.

I have a HTML document which is stored in a QString and I set it to the
QTextView with the setText() method. The text is displayed with very small
font size (although I set the font size=3 in HTML string).
If I save the string in a .html file and open it in a browser (Netscape or
even IE) the text gets displayed in normal size (just like I want ;)
What could be the problem?

Thanks
Venkat