Hi!
How about using QFontMetrics::boundingRect with the Qt::TextWordWrap flag set?
The problem will be that word wrapping will usually only occur, after the scaling has been applied.
So the text will not be wrapped when called the first time.
Mmh..
Johannes




Reply With Quote
Bookmarks