Re: Stop NSSplitView from resizing with Window?
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