From: James H. <jho...@sy...> - 2005-04-29 23:26:34
|
On Apr 29, 2005, at 5:31 PM, Maxwell, Adam R wrote: > > On Apr 29, 2005, at 14:11, James Howison wrote: > >> I'm not sure how to start debugging this, where are the sizes saved? >> It doesn't just happen with Container and the Author and Date fields >> have been shrinking slightly for at least a few months ;) > > They're set in setupTableColumns, according to BDSKColumnWidthsKey > from preferences. It gets updated by tableViewColumnDidResize in the > datasource, so try some NSLogs to make sure that works correctly. Ok, will do. >> ((BTW, if one manually types in Title to the "Add Column" box you can >> add the Title twice, but you can't get rid of it again because it >> doesn't show up in the View menu)). I'll try to fix that now by not >> allowing Title to be added (because it is always there, right?) > > Don't add a special case for Title. There should be a more general > solution for not adding columns twice. Yeah, I had a quick look then had to go out. Basically if think we need to unique the NSMutableArray, while retaining the order in the original. I was thinking of copying each object to a new NSMutableArray in order if and only if the item doesn't already exist in the new array. We are agreed that there is never any need to add a column twice? --James +1 315 395 4056 Details: <http://freelancepropaganda.com/jameshowison.vcf> |