[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSView draw order messed up
From: |
Matt Rice |
Subject: |
Re: NSView draw order messed up |
Date: |
Thu, 3 Oct 2013 04:20:40 -0700 |
On Wed, Oct 2, 2013 at 5:51 PM, Lundberg, Johannes
<johannes@brilliantservice.co.jp> wrote:
> Thanks all for your replies.
>
> Matt is correct. A quick test with this code after subviews has gotten new
> values (calculated with some analytic formula)
>
> for each subview
> {
> subview.frame = NSMakeRect((int)subview.frame.origin.x,
> (int)subview.frame.origin.y, (int)subview.frame.size.width,
> (int)subview.frame.size.height);
> }
>
> fixes the problem.
Unfortunate because this problem is likely unapparent for
non-overlapping views, causing unnecessary redraws.
- NSView draw order messed up, Lundberg, Johannes, 2013/10/02
- Re: NSView draw order messed up, Lundberg, Johannes, 2013/10/02
- Re: NSView draw order messed up, Matt Rice, 2013/10/02
- Re: NSView draw order messed up, Fred Kiefer, 2013/10/02
- Re: NSView draw order messed up, Matt Rice, 2013/10/02
- Re: NSView draw order messed up, Lundberg, Johannes, 2013/10/02
- Re: NSView draw order messed up, Ivan Vučica, 2013/10/02
- Re: NSView draw order messed up,
Matt Rice <=
- Re: NSView draw order messed up, Lundberg, Johannes, 2013/10/03
- Re: NSView draw order messed up, Fred Kiefer, 2013/10/04
- Re: NSView draw order messed up, Lundberg, Johannes, 2013/10/04