-[NSCell setTruncatesLastVisibleLine:YES] should do the trick.

Aki

On 2010/11/01, at 14:52, Ben Lachman wrote:

> I have a cell that I'd like to wrap its text.  However there's the 
> possibility of even after wrapping there being too much text to display.   Is 
> there a way to get truncation to happen after wrapping if it still needs it?  
> Is my best bet to manually truncate my strings to fit after wrapping?
> 
> Thanks,
> ->Ben
> --
> Ben Lachman
> Acacia Tree Software
> 
> http://acaciatreesoftware.com
> 
> email: [email protected]
> twitter: @benlachman
> mobile: 740.590.0009
> 
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/aki%40apple.com
> 
> This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to