QLabel in layout

Michael Pyne mpyne at purinchu.net
Mon Jun 16 19:15:55 BST 2008

On Monday 16 June 2008, Mark Summerfield wrote:
> >   Is there any way around this?  The changing of size on the qlabel
> > shouldn't affect items above it in a vertical layout, but it does
> > anyway.
> You could try making the label's minimum size as big as you think it
> will ever need. Or, more crudely, setting it to a fixed size.

In addition you could manually double-buffer the painted area and if you get a 
repaint with no change in size just redraw the cached pixmap.  But that is 
probably more irritating and hard to properly maintain I think.

 - Michael Pyne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080616/9aac5f29/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080616/9aac5f29/attachment.sig>

More information about the kde-core-devel mailing list