• 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 NSTableColumn causes other columns to shrink
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding NSTableColumn causes other columns to shrink


  • Subject: Re: Hiding NSTableColumn causes other columns to shrink
  • From: Corbin Dunn <email@hidden>
  • Date: Mon, 18 Aug 2008 08:45:20 -0700


On Aug 16, 2008, at 6:59 PM, Markus Spoettl wrote:

Hi List,

it appears it's time for a stupid question again. I'm experiencing some odd behavior of NSOutlineView (probably NSTableView as well) when hiding and showing table columns dynamically.

I have an outline with a number of columns, the first and last column have "resize with table" turned on, most of the other columns don't. Now, when I change [column isHidden] of any column programmatically, the first and last column shrink to their minimum size (as set in IB). It doesn't matter whether a column gets hidden or shown, the effect is the same for both actions.

The shrinking appears to affect the two outermost columns (from left and right edge respectively) that have "resize with table" set.

Does anyone know why? Is there a cure (other than turning off "resize with table")?

It's trying to take up the size that has been added/removed with the available (resizable) columns. It sounds like bug -- can you please log a bug to bugreporter.apple.com? If you have a test project, that will speed up the process.


thanks,
corbin
_______________________________________________

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


References: 
 >Hiding NSTableColumn causes other columns to shrink (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: Table column header not highlighted at first
  • Next by Date: Re: Right place to unobserve notifications in a document
  • Previous by thread: Hiding NSTableColumn causes other columns to shrink
  • Next by thread: How to debug "The Debugger has exited due to signal 10 (SIGBUS)."
  • Index(es):
    • Date
    • Thread