Re: Animated split view collapsing
Re: Animated split view collapsing
- Subject: Re: Animated split view collapsing
- From: "Lawrence Sanbourne" <email@hidden>
- Date: Mon, 1 May 2006 10:54:51 -0500
Hi Paul,
I think we're getting closer! Two things:
1. I found and fixed a bug where I was accidentally not setting the
origin of the subview end frame properly.
2. I put the -display call in that method, but I ran into some
problems with knowing which of my split views was being resized. So, I
put it in -splitView:resizeSubviewsWithOldSize:, and got something
new: The view now shrinks and enlarges properly, but after its first
shrinking, it no longer displays the content -- it just displays the
window background. Has this ever happened to you?
Also, the app now hangs when I resize certain other views. It stops
when I change -display to -setNeedsDisplay: (which then doesn't fix
the real problem), but I think I can debug this myself.
Larry
On 4/29/06, Paul Kim <email@hidden> wrote:
Try doing a display on the splitview in the following delegate method:
- (void)splitViewDidResizeSubviews:(NSNotification *)aNotification
Seems to fix the display problems for me at least.
paul
_______________________________________________
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
_______________________________________________
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