making the NSScrollView align its subview to the top-left corner
making the NSScrollView align its subview to the top-left corner
- Subject: making the NSScrollView align its subview to the top-left corner
- From: Gustavo Pizano <email@hidden>
- Date: Fri, 30 Oct 2009 22:53:17 +0100
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 NSScrollView resizes but it subview its stick to the
bottom-left corner, so when resizing, the elements that I have in the
subview moves down. I have spend already 3 days trying to make it
work, playing with the autoresize and margins in IB, combining
different cases from the NSScrollView and its subview, but no
results. :(.
Any ideas what Im missing?
Thanks
Gustavo
_______________________________________________
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