Re: positioning items in a drawer
Re: positioning items in a drawer
- Subject: Re: positioning items in a drawer
- From: Brock Brandenberg <email@hidden>
- Date: Tue, 14 Jan 2003 10:42:10 -0600
>
> Select your drawer in Interface Builder show information on it and
>
> choose the size panel in the drop down menu, change the offset
>
> values.
>
>
I played around with the offset values. The only thing I could
>
accomplish is to make the drawer shorter, so that it doesn't cover
>
the whole right side of the parent window. I guess that's fine for me.
What you're looking for are the spring settings in the size panel.
First off, you should have a view instance and a drawer instance in your nib
(sounds like you already have those). Open the view instance and set its
springs in the size inspector to vary in height and width. To do this, click
the h & v lines in the middle to make them springs, but leave them lines
around the outside. Then in turn, select each object in your view and click
the lines in the size inspector as appropriate. The lines in the small inner
box represent the size of your object. The lines around the outside of the
box represent the relationship of its frame to its superview.
Brock Brandenberg
----- industrial design @ www.bergdesign.com ------
_______________________________________________
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.