Re: NSSplitView and NSScrollView
Re: NSSplitView and NSScrollView
- Subject: Re: NSSplitView and NSScrollView
- From: Kyle Sluder <email@hidden>
- Date: Thu, 15 Oct 2009 10:53:16 -0700
On Thu, Oct 15, 2009 at 1:31 AM, Harry Sfougaris <email@hidden> wrote:
> I have placed a NSSplitView inside a NSScrollView in code.
Obligatory question: why are you doing this in code, and not in
Interface Builder?
> However, when the user resizes one of the views so part of it outside the
> NSScrollView visible bounds, the NSScrollView does not display the scroll
> bars.
Sounds like you have an autoresize mask problem. Please post your
code. If you're getting the scroll view itself from a nib (one of the
very valid reasons to be actually inserting it into the split view in
code), then please check the autoresize mask on the scroll view's
content view.
> Is this not possible?
Yes, it's certainly possible, and in the majority of cases it's far
easier to do it in Interface Builder.
--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