Layouting NSTableView Headers
Layouting NSTableView Headers
- Subject: Layouting NSTableView Headers
- From: Andreas Hoeschler <email@hidden>
- Date: Fri, 22 Oct 2004 21:54:02 +0200
Hello,
I need to programmatically create an NSTableView and have problems with
the layout (width) of the headers. The easiest way to autolayout the
headers seems to be a sizeToFit call. However, I need the columns to
have different widths and I don't want to horizontally scroll, so the
sum of all column widths should fit the inner width of the tableView.
Suppose the first column has a width 80 and the second has a width 100.
The tableView has an inner width of 200. This makes a gab of 20. I want
this gab to vanish (should be distributed over the two columns). How do
I do that?
By the way, what exactly does tile do? Haven't found out that yet.
Thanks a lot!
Regards,
Andreas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden