PDA

View Full Version : Resize QRectF in drawText when necessary



estanisgeyer
21st February 2010, 14:27
Hi,

I have a QRectF with defined sizes. When writing a text in this area (painter.drawText (QRectF, QString)), I wonder if there is a method or a way to dynamically increase the height if the text needs more lines so that its contents can be displayed in full. How can I do this?

Thanks,

Marcelo E. Geyer
Brazil/RS