[Interest] QLabel and QScrollArea

Yves Bailly yves.bailly at sescoi.fr
Tue Feb 18 12:33:10 CET 2014


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