• 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: Getting accurate bounds for glyph range
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting accurate bounds for glyph range


  • Subject: Re: Getting accurate bounds for glyph range
  • From: Allan Odgaard <email@hidden>
  • Date: Tue, 2 Mar 2004 19:21:09 +0100

On 2. Mar 2004, at 18:56, Jeremy Dronfield wrote:

I'm experimenting with Matt Gemmell's Rounded Floating Panel, using it to display text instead of icons (sort of like the Large Type display in Address Book). To this end, I've inserted a transparent text view in place of the image view supplied. The point where I run into trouble is getting the text view to resize accurately to the bounds of its text storage. [...]

I don't know if there is any particular reason you use text view, if not, then NSTextField has a sizeToFit method that you can use, might be easier.
_______________________________________________
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: Getting accurate bounds for glyph range
      • From: Jeremy Dronfield <email@hidden>
References: 
 >Getting accurate bounds for glyph range (From: Jeremy Dronfield <email@hidden>)

  • Prev by Date: Getting accurate bounds for glyph range
  • Next by Date: Re: Getting accurate bounds for glyph range
  • Previous by thread: Getting accurate bounds for glyph range
  • Next by thread: Re: Getting accurate bounds for glyph range
  • Index(es):
    • Date
    • Thread