• 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
Prevent NSSplitView from resizing when replacing sub views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Cross-fading between layers
  • Next by Date: [Q] a view is associated with more than one view controller?
  • Previous by thread: Re: Need help passing a Secure Bookmark to an XPC Service
  • Next by thread: [Q] a view is associated with more than one view controller?
  • Index(es):
    • Date
    • Thread