• 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: Resizing NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Resizing NSTextView


  • Subject: RE: Resizing NSTextView
  • From: "Jonathan E. Jackel" <email@hidden>
  • Date: Tue, 17 Sep 2002 15:50:36 -0400

Try changing the frame of the enclosing scrollview.

Jonathan

> -----Original Message-----
> From: email@hidden
> [mailto:email@hidden]On Behalf Of Tae-Won Ha
> Sent: Tuesday, September 17, 2002 1:40 PM
> To: Cocoa Dev
> Subject: Resizing NSTextView
>
>
> Hi.
>
> How can I resize a NSTextView? I tried this:
>
> NSRect aRect = NSMakeRect(whatever);
> [[textView textContainer] setWidthTracksTextView:YES];
> [[textView textContainer] setHeightTracksTextView:YES];
> [textView setFrame:aRect];
> [textView setNeedsDisplay:YES];
>
> It does not work... T_T
>
> Thanks in advance.
> --
> Tae. =)
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Resizing NSTextView (From: Tae-Won Ha <email@hidden>)

  • Prev by Date: Re: cellSize bug? missing feature?
  • Next by Date: Re: Required Double Extensions in Save Panel
  • Previous by thread: Resizing NSTextView
  • Next by thread: cellSize bug? missing feature?
  • Index(es):
    • Date
    • Thread