• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting the content origin in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Setting the content origin in IB (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Printing from an NSSplitView
  • Next by Date: Re: Please can any one sugest or send me Email validation code.
  • Previous by thread: Setting the content origin in IB
  • Next by thread: Re: Setting the content origin in IB
  • Index(es):
    • Date
    • Thread