[Interest] Multi-line text in QLabel!

Bob Hood bhood2 at comcast.net
Sat Mar 31 15:55:07 CEST 2012


On 3/31/2012 7:41 AM, Lata Agrawal wrote:
> I don't want to use wordwrap because I want to control where to insert line
> breaks in the string displayed. In code, I re-formatted the string read from
> XML file as string read from XML file is converted from \n to \\n.

I'd probably try changing "\n" to "<br>" and see what that does.



Render me gone,                       |||
Bob                                 ^(===)^
---------------------------------oOO--(_)--OOo---------------------------------
    I'm not so good with advice...can I interest you in a sarcastic comment?




More information about the Interest mailing list