Re: Hiding NSTableColumns?
Re: Hiding NSTableColumns?
- Subject: Re: Hiding NSTableColumns?
- From: Moray Taylor <email@hidden>
- Date: Mon, 17 May 2004 19:35:14 +0100
I just gave this a go, 0 doesn't work, it just makes it very thin, a
few pixels wide, after a bit of experimentation, I found -3 does the
job.
If I then do a setResizable:NO (Well, I'm a java boy, so it's
setResizable(false) for me), it makes it effectively disappear, as it's
not visible, and I can't resize it to get it back, nice!
My only concern is that this 'feature' may go away in future versions,
I mean -3 is a little arbitrary, any lower a number and the table goes
a bit weird.
Moray
On May 17, 2004, at 5:01AM, Moray Taylor wrote:
Is it possible to hide NSTableColumns, or do I need to remove and
insert them?
(If they still query the datasource, that's OK.)
What happens if you set their width to zero? You will have to
temporarily change their min width to zero as well if it isn't
already.
-Frank
------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/
_______________________________________________
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.
_______________________________________________
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.