Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, February 2007
Qt 4.2.2 - QLabel auto-resizing


Message 1 in thread

How is auto-resizing enabled in QLabels?  I've looked at the help, and can't
find an auto-resize property or function.   Calls to setText(), setNum(),
and setMovie() claim "The label resizes itself if auto-resizing is enabled".

Thanks.


--
 [ signature omitted ] 

Message 2 in thread

John Smith wrote:
> How is auto-resizing enabled in QLabels?  I've looked at the help, and can't
> find an auto-resize property or function.   Calls to setText(), setNum(),
> and setMovie() claim "The label resizes itself if auto-resizing is enabled".
> 
> Thanks.
> 
> 
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
> 
> 
> 

Couldn't this be meant for setting sizePolicy? I mean if it is set to 
e.g. Preferred/Preferred then the widget _resizes_ itself 
_automatically_ to make its content visible.

--
 [ signature omitted ]