Re: What's the right way to make the last (or only) table column fill the width of an NSTableView?
Re: What's the right way to make the last (or only) table column fill the width of an NSTableView?
- Subject: Re: What's the right way to make the last (or only) table column fill the width of an NSTableView?
- From: Corbin Dunn <email@hidden>
- Date: Tue, 12 Jan 2010 08:15:08 -0800
On Jan 12, 2010, at 8:00 AM, Charles Jenkins wrote:
No, I wasn't aware of that, and I certainly don't find mention of it
in the documentation for NSTableView or NSTableColumn. But tonight
when I get home, I will try it!
Please log documentation bugs (or use the documentation feedback form
at the bottom of the doc pages) to provide feedback like this. It will
help us make our documentation better.
Thanks!
corbin
On 2010-01-11 23:53, Kyle Sluder wrote:
On Mon, Jan 11, 2010 at 10:58 AM, Charles Jenkins<email@hidden
> wrote:
The ZIP Inspector program works as advertised, but I'm annoyed by
the fact
that the filenames shown in the Table View get truncated due to
the width of
their column, which does not resize no matter how big I make the
Table View.
(The Table View resizes with the window, and I've set the column's
Max Width
to 10000.)
I'm confused. This works out of the box for me on Snow Leopard. Drop
an NSTableView in a window, set the autoresize mask, removed the
second column, made the remaining column the width of the table view.
Works like a charm. Perhaps you aren't aware that a column will only
resize if it is already the width of the view?
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden