NSDrawer bug?
NSDrawer bug?
- Subject: NSDrawer bug?
- From: Drew McCormack <email@hidden>
- Date: Fri, 22 Feb 2002 20:01:20 +0100
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.