Re: NSDrawer, IB "springs", etc.
Re: NSDrawer, IB "springs", etc.
- Subject: Re: NSDrawer, IB "springs", etc.
- From: Keith Renz <email@hidden>
- Date: Thu, 22 Aug 2002 19:21:13 -0400
This doesn't work. I don't want my table views to move, resize or anything.
The don't have any scrollbars and they are a fixed size. I just want them to
stay pinned to the drawer analagous to a real (physical) drawer. When you put
your clothes into a real drawer, they maintain their position relative to the
drawer. This is the behavior I want.
Keith
-----
On 8/22/02, 9:19 PM, Shoaib <email@hidden> wrote:
>
Make sure the NSTableView in IB is set up to size properly. You can do this
>
by choosing "Size" from the Info panel in IB. You'll see a big box with a
>
little box in it. Click within the little box so you see springs on both
>
left-right and top-bottom (within the box). Make sure that there no springs
>
outside the little box.
>
>
Hope that helps.
>
>
- Shoaib
>
>
Keith Renz writes:
>
>
> 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.
_______________________________________________
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.