Prevent NSSplitView from resizing when replacing sub views
Prevent NSSplitView from resizing when replacing sub views
- Subject: Prevent NSSplitView from resizing when replacing sub views
- From: Qiang Y <email@hidden>
- Date: Wed, 24 Oct 2012 22:51:16 -0700
Hello all,
I have a view defined in NIB. In my code, I am replacing one subview of a NSSplitView with the NIB view. Unfortunately, NSSplitView resizes its subviews to satisfy the size of the NIB view, which makes the ui jumpy. Is there a way to resize the NIBView to satisfy the NSSplitView instead of the contrary? I am using auto layout so setting the frame of the NIB view directly might not be an option.
Thanks!
Sent from my iPhone
_______________________________________________
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