PDA

View Full Version : QTextEdit with html - rich text issue



kuku83
22nd August 2012, 13:14
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

kuku83
23rd August 2012, 11:34
I check with QMetricsFont and it doesn't work.