On 2013 Oct 01, at 15:38, Trygve Inda <cocoa...@xericdesign.com> wrote:

> No matter how I configure the nib, the cell is always 8 pixels too
> narrow until I resize the window which causes it to work correctly after
> that.

I remember that drove me crazy when I first used an outline view some years 
ago.  A couple things come time mind…

• When calculating column widths, remember to account for intercell spacing, 
which you can get from -[NSTableView intercellSpacing].  I think it defaults to 
2 points per joint.

• -[NSTableView sizeLastColumnToFit] is your friend.


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to