• 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
[SOLVED] Re: Dynamic NSTextView resizing while keeping Y position constant?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED] Re: Dynamic NSTextView resizing while keeping Y position constant?


  • Subject: [SOLVED] Re: Dynamic NSTextView resizing while keeping Y position constant?
  • From: Nick Zitzmann <email@hidden>
  • Date: Sun, 20 Jun 2004 18:22:53 -0600

On Jun 20, 2004, at 12:49 PM, Mike Ferris wrote:

If the text view is set to auto-resize itself vertically, then it may be that all you really need to do is make sure that its superview is flipped... If the superview is flipped then the frame origin will be at the top-left corner of the text view and when the text view resizes itself to fit the text, it will naturally grow from the bottom.

Thanks Mike! Your solution worked for me.

Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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: 
 >Dynamic NSTextView resizing while keeping Y position constant? (From: Nick Zitzmann <email@hidden>)
 >Re: Dynamic NSTextView resizing while keeping Y position constant? (From: Izidor Jerebic <email@hidden>)
 >Re: Dynamic NSTextView resizing while keeping Y position constant? (From: Mike Ferris <email@hidden>)

  • Prev by Date: Re: Number Formatting
  • Next by Date: Re: Debugger calling string methods on a window
  • Previous by thread: Re: Dynamic NSTextView resizing while keeping Y position constant?
  • Next by thread: How can I add custom headers for a library?
  • Index(es):
    • Date
    • Thread