Re: making the NSScrollView align its subview to the top-left corner

2009-10-31 Thread Gustavo Pizano
Aha great, thanks G. On Oct 31, 2009, at 12:51 AM, Graham Cox wrote: On 31/10/2009, at 8:53 AM, Gustavo Pizano wrote: Any ideas what Im missing? The view contained by the scrollview needs to be flipped. Return YES from an override of -isFlipped. --Graham __

Re: making the NSScrollView align its subview to the top-left corner

2009-10-31 Thread Gustavo Pizano
Kyle, sorry to have bother. :P. I was really tired and I decided just to ask before lookign, sorry my bad. G. On Oct 30, 2009, at 10:57 PM, Kyle Sluder wrote: On Fri, Oct 30, 2009 at 2:53 PM, Gustavo Pizano wrote: Any ideas what Im missing? Did you perform a web search before asking the l

Re: making the NSScrollView align its subview to the top-left corner

2009-10-30 Thread Graham Cox
On 31/10/2009, at 8:53 AM, Gustavo Pizano wrote: Any ideas what Im missing? The view contained by the scrollview needs to be flipped. Return YES from an override of -isFlipped. --Graham ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: making the NSScrollView align its subview to the top-left corner

2009-10-30 Thread Kyle Sluder
On Fri, Oct 30, 2009 at 2:53 PM, Gustavo Pizano wrote: > Any ideas what Im missing? Did you perform a web search before asking the list? Searching Google for "NSScrollView top left" (without the quotes) yielded this as the third hit for me: http://www.omnigroup.com/mailman/archive/macosx-dev/200

making the NSScrollView align its subview to the top-left corner

2009-10-30 Thread Gustavo Pizano
Hello, I have placed a NSScrollView, and its subview its a custom view that contains some elements. Now I have set in the NSScrollView to autoresize with the superview, and maintain all 4 margins, and the subview I have set it to maintain top and left margin, when I resize the window the