Re: Nubie question re Sketch behavior
Re: Nubie question re Sketch behavior
- Subject: Re: Nubie question re Sketch behavior
- From: John James <email@hidden>
- Date: Mon, 15 Oct 2001 20:35:07 -0400
I was less than specific as to what I was looking for. I see that
NSView has
setFrameSize which the user can call. Fine and I could use this.
On the otherhand In MacApp
the view has an overloaded method (CalcMinFrame()) in which the user may
specify a
way to calculate the new size of the view. The framework calls this
method at appropriate times
to update the view size, in this case, as the user adds objects and
drags them into empty places
to make an ever increasing canvas. I did not see something like this in
NSView. Does it exist?
Sorry for the stupid nubie questions.
|On Monday, October 15, 2001, at 07:01 PM, Erik M. Buck wrote:
>
Anything is possible. You can set the frame of the view that Sketch uses
for
drawing to any size you want.
>
> On Monday, October 15, 2001, at 04:44 PM, jhj wrote:
>
> Ok, I see what you mean. However in MacApp I could
>
> dynamically increase
>
> the size of the canvas as the drawing got bigger. later I adjusted
>
> the page print-size to fit the drawing. Is there a way to do this in
>
> cocoa?