• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Hiding NSTableColumns?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Hiding NSTableColumns?
      • From: Frank Midgley <email@hidden>
References: 
 >Hiding NSTableColumns? (From: Moray Taylor <email@hidden>)
 >Re: Hiding NSTableColumns? (From: Frank Midgley <email@hidden>)

  • Prev by Date: Re: [ANN] FormMate v 1.0
  • Next by Date: Re: [ANN] FormMate v 1.0
  • Previous by thread: Re: Hiding NSTableColumns?
  • Next by thread: Re: Hiding NSTableColumns?
  • Index(es):
    • Date
    • Thread