Filling TableView with NSTableColumns
Filling TableView with NSTableColumns
- Subject: Filling TableView with NSTableColumns
- From: Will Price <email@hidden>
- Date: Fri, 06 Jul 2001 19:35:48 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
All over the place, I see people having problems getting their
NSTableColumns to fill the width of their NSTableViews. Let's say
your TableView is 200 pixels wide and your column is 100 pixels wide.
Well, the TableView draws a big ol' white space between the last
column and the edge of the TableView. The Finder is one of the few
apps that seems to have a solution for this. It correctly draws an
empty table column area between the last table column and the table
view edge.
I have tried creating a bogus column of massive width, but that
screws up the resizing of the table columns when windows are resized.
Surely there is a "correct" solution to this problem? I have at
least 10 tables in our app with this issue. I would really like a
method like [tableView alwaysFillEmptyColumnSpaceWithBogusColumn].
Any tips?
Thanks.
- -- Will
Will Price, Director of Engineering
PGP Security, Inc.
a division of Network Associates, Inc.
-----BEGIN PGP SIGNATURE-----
Version: PGP 7.1
iQA/AwUBO0ZnLqy7FkvPc+xMEQKs3gCeIV42jdkWpvEj+ZnTA/JGQLjGapYAoJ7L
SpCSxq3XuQYZ3NvL6H1XsmDl
=HhZs
-----END PGP SIGNATURE-----