NSDrawer, IB "springs", etc.
NSDrawer, IB "springs", etc.
- Subject: NSDrawer, IB "springs", etc.
- From: Keith Renz <email@hidden>
- Date: Thu, 22 Aug 2002 16:34:19 -0400
I'm having difficulty getting the contents of a drawer (2 tables and 2
checkboxes) to remain positioned in the drawer when the drawer is dragged
open and close (like the contents of a real drawer in a chest). Here's the
setup...
The drawer's default is on the right side of the window. There is a standard
NSView attached to the drawer's contentView. There are 2 small tables (8 rows
or so) and 2 checkboxes in the view.
NSDrawer -> NSView (drawer's contentView) -> NSTableView
NSTableView
NSButton
NSButton
The drawer's content size is set at 235 with a min = 0 and a max = 300.
I have tried every combination of IB's springs for the view, tables and
buttons to get the behavior I want. I thought I understood what they mean,
but I guess I don't.
Can someone please give me a definitive explanation of the springs and what I
need to do to pin my drawer's contents to the drawer?
Thanks,
Keith
_______________________________________________
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.