Re: fill tableview exactly with tablecolumns
Re: fill tableview exactly with tablecolumns
- Subject: Re: fill tableview exactly with tablecolumns
- From: Allan Odgaard <email@hidden>
- Date: Mon, 8 Jul 2002 22:16:52 +0200
On mandag, juli 8, 2002, at 09:47 , Matt Neuburg wrote:
What's been tried and rejected? I'd expect that a combination of
NSTableColumn's -sizeToFit and NSTable's -sizeLastColumnToFit would do
the trick
I don't want to fit the header; I want n columns of equal width. m.
I haven't tried this, but since you don't write what your current recipe
is, then I'd suggest simply invoking visibleRect on the tableview to get
the width and then use a discrete algorithm to distribute this among
your columns.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.