Silly NSTextFieldCell tricks
Silly NSTextFieldCell tricks
- Subject: Silly NSTextFieldCell tricks
- From: John Stiles <email@hidden>
- Date: Thu, 31 Jan 2008 11:27:51 -0800
I've noticed that in table views, the NSTextFieldCell has the ability to
ever-so-slightly squash its contents horizontally, to fit inside the
table cell, before eventually giving up and truncating them with ellipses.
Is there any way for me to programmatically do the same thing to my own
NSTextFieldCell?
As I'm typing this, suddenly I'm thinking "maybe I could fake it by
altering the cell's bounds while leaving the frame alone"… but is there
a better way? Changing the bounds would make the text thinner, which
isn't quite the same as squeezing the letters more tightly together.
_______________________________________________
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