Re: NSCollectionView inside an NSSplitView?
Re: NSCollectionView inside an NSSplitView?
- Subject: Re: NSCollectionView inside an NSSplitView?
- From: Jerry Krinock <email@hidden>
- Date: Fri, 13 Feb 2009 15:52:43 -0800
On 2009 Feb 13, at 13:34, Jean-Nicolas Jolivet wrote:
If I disable the item's re-sizing, the behavior is less apparent...
it's still a little odd (sometimes the items are attached to the
right side of the collection view....then all of a sudden they go
back to their original place etc..) but it's definitely not as bad
Yes, whenever I see stuff jumping around like in your movie I start
sniffing around for an evil autoresize setting, and almost always find
one -- or more. Yesterday I found that I needed to turn off
autoresizing on the ^content view^ of an NSBox which I was laying out
manually.
... however, obviously, my items don't get re-sized... which isn't
really how I need it to behave...
Haven't taken the time to digest your whole problem, but it looks like
you may want to autoresize vertically but not horizontally or vice
versa. I recommend logging/setting your autoresize masks
programatically, in -awakeFromNib maybe.
_______________________________________________
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