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

Vertically centering NSTextView


  • Subject: Vertically centering NSTextView
  • From: Tomas Franzén <email@hidden>
  • Date: Sat, 6 Dec 2008 23:03:54 +0100

Hi,

I've written a text container to fit text inside of an oval shape (phew), and now I'd like to center the text vertically within the text view. What's the best way to approach this? NSLayoutManager is a jungle, and I'm not sure it's the right place to look.

Thanks!

Tomas Franzén
Lighthead Software
http://www.lightheadsw.com/

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Cleanup inside a failed init method
  • Next by Date: Re: What are the limitations of Dot Syntax?
  • Previous by thread: Re: Cleanup inside a failed init method
  • Next by thread: NSPredicateEditor and date comparisons
  • Index(es):
    • Date
    • Thread