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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to