[Qt-interest] Text width greater than the QRect
Marcelo Estanislau Geyer
estanisgeyer at hotmail.com
Thu Mar 31 03:05:45 CEST 2011
Hi,
I'm using the function QPainter::drawText to draw a text. The problem is
I have a QRect with defined width and need to put a text that can have a
width greater than the QRect, so the text is not drawn, leaving blank.
How can I fix this? I do not care if the text cut out (Elide Mode ?), as it is for a report.
Thanks,
Marcelo E. Geyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110331/51101e4c/attachment.html
More information about the Qt-interest-old
mailing list