• 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: Nubie question re Sketch behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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?


  • Follow-Ups:
    • Re: Nubie question re Sketch behavior
      • From: "Erik M. Buck" <email@hidden>
  • Prev by Date: Re: NSTextView and nextKeyView
  • Next by Date: [somewhat off] Re: loginwindow
  • Previous by thread: Re: Nubie question re Sketch behavior
  • Next by thread: Re: Nubie question re Sketch behavior
  • Index(es):
    • Date
    • Thread