On Thu, Feb 19, 2009 at 4:17 PM, Ken Tozier <kentoz...@comcast.net> wrote:
> Seems simple enough but I can't use tables because columns are a single
> width and project names are much longer than page numbers. What I end up
> with are ridiculously long page number fields to display short numbers like
> 1, 2, 3, etc. I had a small bit of success, at least with respect to the way
> items were layed out, using custom NSCells, but this quickly gets mired in
> dozens of overrides and hit testing parts of the cell to make the subcells
> work.

Can you afford to target Leopard-only?  If so, you can use full-width
cells for your project rows.  Return the cell in your delegate's
-tableView:dataCellForTableColumn:row: method when nil is passed for
the tableColumn argument.  You might also want to return YES for
-tableView:isGroupRow: for this row.

--Kyle Sluder
_______________________________________________

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