• 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: NSScrollView : documentView stuck in the bottom-left corner !
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScrollView : documentView stuck in the bottom-left corner !


  • Subject: Re: NSScrollView : documentView stuck in the bottom-left corner !
  • From: Eric Morand <email@hidden>
  • Date: Sat, 13 Aug 2005 11:53:27 +0200

Thanks Erik !


I've sent you a private email.


Another member of the list (Cameron) also hinted that I could subclass NSClipView so that my subclass returns YES to isFlipped. In fact, it works very well too.





Again, thanks to both of you,



Eric.


Le 13 août 05 à 04:22, Erik Buck a écrit :

I just whipped up a little example of exactly what the OP wants:
Custom view full of controls created in IB and programatically added to a scroll view so that the custom view stays in the top left corner of the scroll view. Just for fun, I also include a mode to center the custom view in the scroll view.


Send email to me and I will provide a 52K sample project to anyone who asks.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: NSScrollView : documentView stuck in the bottom-left corner ! (From: Erik Buck <email@hidden>)

  • Prev by Date: [Cocoadev] Problem becoming a good citizen and backwards compatible
  • Next by Date: how can button cells in a table view made first responders?
  • Previous by thread: Re: NSScrollView : documentView stuck in the bottom-left corner !
  • Next by thread: Re: NSCreateCommand
  • Index(es):
    • Date
    • Thread