[Qt-interest] adapt the size of a QLabel inside a QVBoxLayout

Fabio Dago fabio.dago at sir.to.it
Tue Feb 24 09:37:05 CET 2009


I don't know if this is the solution, but try to set a big value of 
stretch (bigger than others) when you add the QLabel in the QVBoxLayout.

Fabio.

Markus Franke ha scritto:
> Hi Tony,
>
> Zitat von Tony Rietwyk <tony.rietwyk at rightsoft.com.au>:
>
>   
>> Try label->updateGeometry()
>>     
>
> Sorry, this doesn't help. The label/layout doesn't resize.
>
> So long,
> Markus
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>   
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.0.237 / Virus Database: 270.11.3/1968 - Release Date: 02/23/09 18:22:00
>
>   



More information about the Qt-interest-old mailing list