[Qt-interest] QLabel wrap anywhere
Jordan Upham
jupham at zipitwireless.com
Wed Aug 18 16:52:33 CEST 2010
Hi,
I'm looking for a way to wrap a QLabel anywhere and not just on line breaks.
I know this is possible with QTextEdits and I have thought about just using
those instead of QLabels where I need this behavior but I am running on a
mobile device and I am worried about performance of this. Is there a way to
figure out how much text of a given string will fit in a given width? I'm
thinking it is probably possible with QFontMetrics but I'm not sure.
Thank You,
Jordan Upham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100818/6cb769eb/attachment.html
More information about the Qt-interest-old
mailing list