Re: Setting the content origin in IB
Re: Setting the content origin in IB
- Subject: Re: Setting the content origin in IB
- From: Uli Kusterer <email@hidden>
- Date: Fri, 2 Feb 2007 09:46:49 +0100
Am 02.02.2007 um 07:29 schrieb Ken Tozier:
I'm sure this is an easy one but I can't figure out how to set the
origin of items in IB. It seems that setting the "content
rectangle" in the size tab of the IB inspector to "top/left" has
absolutely no effect. All my views are drawing from the lower left
corner and it's turned into a real PITA.
In short, there's no way to flip views in IB. What you're setting
is only for editing. Also, the drawing code of a view would have to
be adjusted to draw upside-down.
What you should really do is set the resize springs so your views
are firmly connected to the upper left of your view and have springs
in the lower right. You can also use a flipped custom view as the
superview for your system views, that way you can position them
relative to their upper left.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden