> > > However, I know there is a magic formula somewhere, because when I use the > default cell returned by -[NSTableColumn dataCell], all three requirements > are satisfied. Statically, I see that it sets all three attributes to NO. > But when I try this with a raw NSTextFieldCell, only requirement 1 is > satisfied. > > Maybe there is another attribute involved -- NSCell has several dozen more. > Anybody got a good guess?
Hey Jerry, I'm sorry; I don't have time to go into the details, but I can tell you what NSTableColumn's default cell is initialized with. It is: NSTextFieldCell setEditable:YES setScrollable:YES setDrawsBackground:NO setFont:(systemFontSize) setLineBreak:NSLineBreakByTruncatingTail setBackgroundColor:[NSColor controlBackgroundColor] Good luck, corbin _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com