Label randomly cut off in NSOutlineView column
Label randomly cut off in NSOutlineView column
- Subject: Label randomly cut off in NSOutlineView column
- From: David <email@hidden>
- Date: Sun, 31 May 2009 11:33:03 -0400
I have an outline view where the first column are file names. There is
absolutely no processing of the name going on in my code.
Everything has been working fine for a long time. Suddenly I discover
a filename that causes the value displayed to be truncated. I've
played with it. There are no special characters, they're all regular
ascii single byte characters. For some names it works, some get
truncated with no apparent rhyme or reason.
Has anyone seen anything like this before? Is this some weird bug or
explainable behavior in Cocoa? Could I be doing something wrong? My
application is running on leopard with garbage collection enabled.
I've changed the name to be generic. The following filename
Xxxxxxxxxxxx.1111.2222.3333.444.55555555.666666.777
displays in my NSOutlineView as
Xxxxxxxxxxxx.
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.
_______________________________________________
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