Re: Any way to get NSTextFieldCell to wrap AND truncate?
Re: Any way to get NSTextFieldCell to wrap AND truncate?
- Subject: Re: Any way to get NSTextFieldCell to wrap AND truncate?
- From: Aki Inoue <email@hidden>
- Date: Mon, 1 Nov 2010 15:10:38 -0700
-[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@hidden
> twitter: @benlachman
> mobile: 740.590.0009
>
> _______________________________________________
>
> 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
_______________________________________________
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