[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: QLabel in layout
From: "John Tapsell" <johnflux () gmail ! com>
Date: 2008-06-17 8:47:38
Message-ID: 43d8ce650806170147x25173197vff04e4fe58e62859 () mail ! gmail ! com
[Download RAW message or body]
Sure, I will probably do this. But it means that everything it is now
tripple buffered, with Qt also double buffering it.
John
2008/6/16 Michael Pyne <mpyne@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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic