• 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
Re: Resizing issue with NSSplitView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resizing issue with NSSplitView


  • Subject: Re: Resizing issue with NSSplitView
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 03 Sep 2014 00:19:47 -0500

On Tue, Sep 2, 2014, at 11:39 PM, Peter Hudson wrote:
> Hi All
>
> I have recently migrated a project to xCode 5.1.1 and OSX  10.9.4
>
> In one of the windows of the app I have an NSSplitView.
> Previously, I could adjust the relative size of the splits in Interface
> Builder - and when I ran the app, the splits would appear as I set them.
>
> Mysteriously, Interface builder has resized the relative sizes of one of
> my splits - and I can no longer adjust them in Interface Builder.
> When I have selected the correct object on the screen, I get the  up /
> down  arrow that implies I can move the divider  - but when I try to drag
> the divider to a new position, the cursor moves but the  divider stays
> put.
>
> Other split views, in the same window, can be resized without any
> trouble.
>
> Any suggestions gratefully received !

If you have enabled Auto Layout in the nib, you need to use constraints
to specify the widths of your splits. The exception is if the delegate
of the split view implements one of the verboten methods that kicks the
split view back into legacy mode. You can read more in the AppKit
release notes:
https://developer.apple.com/library/mac/releasenotes/AppKit/RN-AppKitOlderNotes/

--Kyle Sluder
_______________________________________________

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


References: 
 >Resizing issue with NSSplitView (From: Peter Hudson <email@hidden>)

  • Prev by Date: Resizing issue with NSSplitView
  • Next by Date: Re: Cocoa-dev Digest, Vol 11, Issue 479
  • Previous by thread: Resizing issue with NSSplitView
  • Next by thread: Re: Cocoa-dev Digest, Vol 11, Issue 479
  • Index(es):
    • Date
    • Thread