Getting a table to resize columns. I'm doing everything right but it's not working?
Getting a table to resize columns. I'm doing everything right but it's not working?
- Subject: Getting a table to resize columns. I'm doing everything right but it's not working?
- From: "Theodore H. Smith" <email@hidden>
- Date: Mon, 24 Apr 2006 15:40:00 +0100
How do you get an NSTableView to resize it's columns?
Is there any mistake I could make that might inadvertantly stop it
from doing the auto-resizing?
I got this NSTableView.
In IB, it has "Column Resizing" checked.
The column I want resized, is column 2, with an Identifier string of
"2". It has "Live Resize" and "User Resize" set to true, although you
can't actually get the grab bars because the Column headers are hidden.
I'm setting the MinWidth to something quite small, like:
[col setMaxWidth:600];
[col setMinWidth:90];
The table exists within a splitview. Resizing the window or the
splitview, will resize the NSTableView in question.
So... why doesn't the thing resize when I resize it? Instead, all the
columns stay at a fixed size, leaving a huge amount of extra space if
there's too much, or just being clipped at the right if there's not
enough!!
Something is going on here but I don't know what.
--
http://elfdata.com/plugin/
_______________________________________________
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