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

Hiding NSTableColumn causes other columns to shrink


  • Subject: Hiding NSTableColumn causes other columns to shrink
  • From: Markus Spoettl <email@hidden>
  • Date: Sat, 16 Aug 2008 18:59:12 -0700

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")?

I'm using Xcode 3.0 on Mac OS 10.5.4

Regards
Markus
--
__________________________________________
Markus Spoettl

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: Hiding NSTableColumn causes other columns to shrink
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Re: Cocoa-dev Digest, Vol 5, Issue 1470
  • Next by Date: How to debug "The Debugger has exited due to signal 10 (SIGBUS)."
  • Previous by thread: Re: Cocoa-dev Digest, Vol 5, Issue 1470
  • Next by thread: Re: Hiding NSTableColumn causes other columns to shrink
  • Index(es):
    • Date
    • Thread