• 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: Stop NSSplitView from resizing with Window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stop NSSplitView from resizing with Window?


  • Subject: Re: Stop NSSplitView from resizing with Window?
  • From: "I. Savant" <email@hidden>
  • Date: Fri, 13 Oct 2006 13:05:36 -0400


The code is a nice example, but why hard-code the divider thickness? Since you have to subclass NSSplitView to override its divider thickness anyway, -dividerThickness should always return the 'right' value -- why hard-code it in delegate methods?


Why not just always ask the split view for its - dividerThickness? :-) This will make the code you posted more easily reusable.

--
I.S.


On Oct 13, 2006, at 4:56 AM, Conor Dearden wrote:

(Just watch out that the divider thickness is set to 1, the
regular divider thickness is 10, be sure to update that part of the code to
fit your project.)

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Stop NSSplitView from resizing with Window? (From: Conor Dearden <email@hidden>)

  • Prev by Date: Re: Where to find free EULA Templates?
  • Next by Date: [Moderator] EOT (Re: Where to find free EULA Templates?)
  • Previous by thread: Re: Stop NSSplitView from resizing with Window?
  • Next by thread: Re: Stop NSSplitView from resizing with Window?
  • Index(es):
    • Date
    • Thread