On Sat, Jul 25, 2009 at 7:59 PM, Pierce Freeman<piercefreema...@comcast.net> wrote: > I'm not quite sure if I'm over riding -drawRect:, but it's possible that I > have. Hopefully my code will see if I have.
If you can't answer this question, you need to cover some basic fundamentals. "Did you override -drawRect:" is a very simple question that you can answer by simply looking at what code you've written. If you have written a subclass of NSView and implemented the -drawRect: method, and this is the view you're asking about, the answer is yes. Otherwise, it is no. > [subView addSubview:text1]; When you add a subview to a superview, it doesn't resize the superview. NSScrollView has no idea about the contents of its document view's subviews, it only cares about its document view's size. Since it never changes, there's nothing for it to scroll. I recommend first going over some Cocoa fundamentals again. Then move on to the View Programming Guide. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com