Re: positioning items in a drawer
Re: positioning items in a drawer
- Subject: Re: positioning items in a drawer
- From: Scott Anguish <email@hidden>
- Date: Wed, 15 Jan 2003 03:45:07 -0500
On Sunday, January 12, 2003, at 09:19 PM, Koen van der Drift wrote:
Hi,
I created a window with a drawer. In IB I made a content view for the
drawer, and added some items starting from the top of the view.
However, if
the drawer opens in the app, the items are all moved down, centered in
the
drawer. How do I keep the items where I positioned them in IB?
You need to make sure that the DrawerContents view in IB for the
drawer is set to resize properly (the inner springs both curled).. the
default is not... so the items aren't actually moving, the view
containing them are...
be sure to try running your UI in IB (stick in a temporary toggle
button to open the drawer, control drag a connection to the drawer and
connect it to toggle:)... that way you can experiment some..
also, be sure to set the minimum size for the drawer contents to a
size that will show all your controls, and that the parent's minimum
window size is also set to at least that...
_______________________________________________
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.