• 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: Centering a view in an NSScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: ProgressIndicator Always Hidden If...
  • Next by Date: Re: Fast User Switching in Panther...
  • Previous by thread: Centering a view in an NSScrollView
  • Next by thread: Re: Learning Mac programming
  • Index(es):
    • Date
    • Thread