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

Resizing NSTextView


  • Subject: Resizing NSTextView
  • From: Tae-Won Ha <email@hidden>
  • Date: Tue, 17 Sep 2002 19:39:44 +0200

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.

  • Follow-Ups:
    • RE: Resizing NSTextView
      • From: "Jonathan E. Jackel" <email@hidden>
  • Prev by Date: Re: Menus of any other app...
  • Next by Date: Re: DB-Engine
  • Previous by thread: Re: NSData Deprecations
  • Next by thread: RE: Resizing NSTextView
  • Index(es):
    • Date
    • Thread