Re: NSOutlineView sometimes truncates label
Re: NSOutlineView sometimes truncates label
- Subject: Re: NSOutlineView sometimes truncates label
- From: Graham Cox <email@hidden>
- Date: Tue, 2 Jun 2009 13:31:31 +1000
On 02/06/2009, at 1:24 PM, David wrote:
If I take out some xx's it works. Many other random changes will make
it work, such as changing the Xs to 0s. Some cases will cause it to
truncate at a later period, but it always truncates at a period.
This is extremely weird. Any suggestions appreciated.
Sounds like it's merely word wrapping. Try replacing the periods with
spaces - what happens?
You can disable word wrapping in IB for the cell - set the layout to
"scrolls" and the Line Breaks to "truncate tail" (or middle, whatever
you need) and check the "truncates last visible line" checkbox.
--Graham
_______________________________________________
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