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.mironc...@gmail.com ; interest@qt-project.org
Subject: Re: [Interest] QLabel and QScrollArea

Le 18/02/2014 12:57, igor.mironc...@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." 

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to