Re: NSDrawer bug?
Re: NSDrawer bug?
- Subject: Re: NSDrawer bug?
- From: Matt Judy <email@hidden>
- Date: Fri, 22 Feb 2002 17:30:31 -0800
Sorry, no solution here, but I have also come across this. If a drawer
is opened, then the window closed, there is a blank white space where
the drawer should be when the window is reopened.
I was thinking that I might have to close the drawer when the window
closes (in an appropriate delegate method), then open it again when the
window is shown again. That would almost certainly work, but would be
an interesting UE.
--Matt Judy
Drew McCormack wrote:
I have an NSDrawer which is attached to a window which gets open and
closed regularly. Sometimes I need to open the window, and have the
NSDrawer open at the same time (or at least be open when the window has
opened). Sometimes this works, in particular when the nib is first
loaded, but after that things go wrong. (It's probably just a question
of timing, of course.)
What happens is, the window is displayed, but the space where the drawer
should be is a white blank space. I can only see the drawer and its
contents by opening and closing it.
I have tried sending the contentView of the drawer a "setNeedsDisplay:"
message; this works for the contents, but the drawer border is still
invisible. Incidentally, what do I call if I want to get the drawer to
redisplay?
Is this correct behavior, or a bug?
I'm sure I can get around it with a few tricks like putting something in
the delegate method "drawerDidOpen:", but I was just curious as to what
was up.
Drew McCormack
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.