Newbie scroll view problem
Newbie scroll view problem
- Subject: Newbie scroll view problem
- From: Andy Bettis <email@hidden>
- Date: Thu, 18 Dec 2008 23:57:00 +0000
Hi,
In my app I have an NSScrollView that contains a simple NSView in
which I add other NSView subclass objects. All works well until the
window (and hence the scroller) is resized - making it smaller is OK
but if it is made bigger than the original (IB) size my added views
migrate down the window. I've tried adjusting the autosizing settings
but to no avail.
I'm trying not to have to subclass the containing view, I just want
the scroller to reveal more of it as it is enlarged while leaving my
subviews aligned to the top left corner. Do I need to flip the
coordinates to keep them up there? I'll probably end up limiting the
maximum window size so the user can't make it too big but I'd like to
know what's going on.
Any help, explanation or advice gratefully received.
Rev. Andy
_______________________________________________
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