drawers closes, but is visible
drawers closes, but is visible
- Subject: drawers closes, but is visible
- From: Paul Cezanne <email@hidden>
- Date: Fri, 25 Oct 2002 09:08:55 -0400
I have an odd problem. My application uses an NSDrawer. It has worked fine for months now. I just switch to Jaguar and the Jaguar tools and now when my drawer closes, it doesn't disappear. It lives on behind my window. It is actually bigger than the window so you can see it sticking out and of course if you move the window, you can see it.
If you click on the top line of this drawer/window, it disappears.
How can I make it disappear?
Note, I do a few "non standard" things with this drawer. I open it on the right hand edge.
[myTargetDrawer openOnEdge:NSMaxXEdge];
I move the window programmatically after I open the drawer:
[[myTarget window] setFrame:windowR display:true];
I close it in the normal fashion.
[myTargetDrawer close];
As an experiment, I open it without forcing it to NSMaxXEdge and not centering the window and it disappeared fine. But, wait, it didn't! Curiously, when main window resizes (smaller), the drawer APPEARS.
Any advice is appreciated. Thanks.
Paul
_______________________________________________
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.