Hiding NSTableColumn causes other columns to shrink
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