Re: NSScrollView : documentView stuck in the bottom-left corner !
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