[Interest] QT QFontMetrics boundingRect failed to textwordwrap, thanks!

Shawn Rutledge Shawn.Rutledge at qt.io
Thu Nov 30 08:16:02 CET 2017


> On 28 Nov 2017, at 02:06, sq <vitasr at 163.com> wrote:
> 
>     painter.drawText(textBoundingRect,Qt::TextWordWrap,text);

Try Qt::TextWrapAnywhere.  Those numbers get concatenated into one long “word”.



More information about the Interest mailing list