Short answer: automatically, no. Manually, probably. All the logic is implemented in NSTableHeaderView. You'd have to subclass NSTableView and do the hit testing and work yourself in -mouseDown: and not call super when you do that logic. Just call setWidth: on the header when you want it to change sizes, and respect min/max sizes.

corbin


On Feb 26, 2009, at 4:19 PM, Graham Cox wrote:

I have an outline view with several columns. I don't really need the column headers but I'd like to retain the ability to drag the column widths (by dragging at the boundaries between each perhaps). Is there a way to do this?

--Graham


_______________________________________________

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

Reply via email to