Re: How to center a custom NSView in a NSScrollView
Re: How to center a custom NSView in a NSScrollView
- Subject: Re: How to center a custom NSView in a NSScrollView
- From: Benjamin Stiglitz <email@hidden>
- Date: Wed, 14 Jan 2009 09:45:36 -0500
- Mail-followup-to: email@hidden
> I've already tried with a custom NSClipView, as explained here:
>
> http://www.bergdesign.com/missing_cocoa_docs/nsclipview.html
This is the standard way to do this.
> The question is, how can I center a custom NSView in a NSScrollView, if
> the visible width and/or height is greater than the fixed size of the
> NSScrollView?
What does centering mean if the view’s size is larger than that of the
scroll view?
-Ben
_______________________________________________
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