• 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: How to center a custom NSView in a NSScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to center a custom NSView in a NSScrollView (From: Meik Schuetz <email@hidden>)

  • Prev by Date: Re: File association
  • Next by Date: Re: Constructing class names dynamically
  • Previous by thread: How to center a custom NSView in a NSScrollView
  • Next by thread: Information request on QT streaming
  • Index(es):
    • Date
    • Thread