Re: Programmatically resized NSWindow not being redrawn?
Re: Programmatically resized NSWindow not being redrawn?
- Subject: Re: Programmatically resized NSWindow not being redrawn?
- From: Daniel Vollmer <email@hidden>
- Date: Sun, 5 Feb 2006 16:21:14 +0100
Sorry for talking to myself, the problem was that the following function
The following code is responsible for resizing the NSCustomView:
- (void)setImageSize:(NSSize)size
[snip]
was called from a non-main-thread thread and changed the window size
(i.e. setFrame). This lead to the effect shown in the picture as well
as part of the title-bar not reacting to mouse-clicks (as sometimes
the display subsystem is showing the window at the new size, but the
UI logic is still referring to the original, smaller window).
Daniel.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden