[Interest] QLabel and QScrollArea

igor.mironchik at gmail.com igor.mironchik at gmail.com
Tue Feb 18 13:39:49 CET 2014

I've set QLabel::setWordWrap( true ). But as I say QLabel shrinks only to 80 
chars long...

-----Original Message----- 
From: Yves Bailly
Sent: Tuesday, February 18, 2014 1:33 PM
To: igor.mironchik at gmail.com ; interest at qt-project.org
Subject: Re: [Interest] QLabel and QScrollArea

Le 18/02/2014 12:57, igor.mironchik at gmail.com a écrit :
> Hi.
> I’ve looked at QLabel code and concluded that QLabel doesn’t support 
> shrinking less than 80
> characters long.
> Fix me if I’m wrong.

Try to include your text in "<qt>your text here</qt>" tags, QLabel should 
then shrink and cut
the lines when needed.
Alternatively try QLabel::setWordWrap(true).

Hope this helps.

      /- Yves Bailly - Software developer   -\
      \- Sescoi R&D  - http://www.sescoi.fr -/
"The possible is done. The impossible is being done. For miracles,
thanks to allow a little delay." 

More information about the Interest mailing list