Re: Cocoa Autosizing Control
Re: Cocoa Autosizing Control
- Subject: Re: Cocoa Autosizing Control
- From: Rick Langschultz <email@hidden>
- Date: Wed, 21 Oct 2009 14:29:46 -0500
I am sorry, I thought I had explained. Perhaps a little more detail is
required in my posting.
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.
Thanks for the heads up on detail, i certainly appreciate it.
Rick
On Oct 21, 2009, at 1:35 PM, Kyle Sluder wrote:
On Wed, Oct 21, 2009 at 10:49 AM, Rick Langschultz
<email@hidden> wrote:
I am writing an application much like the sketch example. I want to
include
an autosizing-like control found in Interface Builder. Does anyone
know if
such control exists. I was thinking about NSImageView, or NSBox to
create
such a control but neither seems to support what I want to do.
What do you mean by "autosizing-like control"? Are you referring to
the autoresize mask editor in IB's size inspector?
Please explain what functionality you're trying to implement
(something like "the user needs to be able to specify the color of the
widget", _not_ "I want to put an NSColorWell on a drawer on a sheet on
a panel").
--Kyle Sluder
_______________________________________________
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