QLabel in layout

John Tapsell johnflux at gmail.com
Tue Jun 17 09:47:38 BST 2008

Sure, I will probably do this.  But it means that everything it is now
tripple buffered, with Qt also double buffering it.


2008/6/16 Michael Pyne <mpyne at purinchu.net>:
> 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.
> Regards,
> - Michael Pyne

More information about the kde-core-devel mailing list