Re: Centering a view in an NSScrollView
Re: Centering a view in an NSScrollView
- Subject: Re: Centering a view in an NSScrollView
- From: Brock Brandenberg <email@hidden>
- Date: Fri, 01 Aug 2003 12:14:05 -0500
Hi Moray.
>
I have simple problem, I have custom view within an NSScrollView, but
>
it doesn't look very good as it is aligned to the bottom-left of the
>
NSScrollView (the custom view can often be small than it's containing
>
NSScrollView), is there any way to center it within the NSScrollView?
Take a look at:
http://www.bergdesign.com/missing_cocoa_docs/
I'm working on a revision of the NSClipView article that I will post on
CocoaDevCentral in the near future that also touches on two more alternate
methods along with all their pros and cons, but this should help for now.
Brock Brandenberg
----- industrial design @ www.bergdesign.com ------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.