• 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: Cocoa Autosizing Control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Autosizing Control


  • Subject: Re: Cocoa Autosizing Control
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 21 Oct 2009 12:57:08 -0700


On Oct 21, 2009, at 12:29 PM, Rick Langschultz wrote:

I am writing an application which can insert objects into a canvas. The application has an inspector like Dashcode or Interface Builder. Under the ruler view of Interface Builder 3.X there is an autosizing control with "springs" that a user can set to make an object expand when a window / view resizes, or have the control stay to the left, top, right, bottom.
I would like my application to make some use of the same type of control. The user would use the inspector and the sizing control to set constraints on where the image / other object would remain on the screen when the document's window is resized.

That's not much like any standard control type. You'd have to implement such a control from scratch, i.e. by implementing drawRect, mouseDown, etc. I've never heard of a 3rd party implementation.


—Jens_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • Re: Cocoa Autosizing Control
      • From: Rick Langschultz <email@hidden>
References: 
 >Cocoa Autosizing Control (From: Rick Langschultz <email@hidden>)
 >Re: Cocoa Autosizing Control (From: Kyle Sluder <email@hidden>)
 >Re: Cocoa Autosizing Control (From: Rick Langschultz <email@hidden>)

  • Prev by Date: Re: Cocoa Autosizing Control
  • Next by Date: Webkit and SSL
  • Previous by thread: Re: Cocoa Autosizing Control
  • Next by thread: Re: Cocoa Autosizing Control
  • Index(es):
    • Date
    • Thread