Re: Getting accurate bounds for glyph range
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.