2-moded window question
2-moded window question
- Subject: 2-moded window question
- From: "Nathan V. Roberts" <email@hidden>
- Date: Fri, 29 Jun 2001 22:37:07 -0500
Hi, a quick what's-the-Cocoa-way-to-do-this question:
I have a window on which I'd like a simple mode and a details
mode--where the detail area of the window disappears in simple mode.
Drawers would be acceptable, except that I don't feel that the
metaphor is quite appropriate here, and I'd like to display some
buttons at the "absolute bottom" of the window. So, in detail mode,
the window looks sorta like
_____________________________
| |
| Main stuff |
| X | <-- X is the detail mode toggle
| _________________________ |
| |
| Advanced settings stuff |
| _________________________ |
| Button 1 Button 2 |
|___________________________|
And in simple mode, it's like
_____________________________
| |
| Main stuff |
| X |
| _________________________ |
| Button 1 Button 2 |
|___________________________|
What's the best way to do this within Cocoa?
Thanks,
Nate Roberts