Re: List of views...
Re: List of views...
- Subject: Re: List of views...
- From: "Erik M. Buck" <email@hidden>
- Date: Mon, 3 Feb 2003 15:27:46 -0500
Don't add sub-views to the content view of an NSScrollView. Add them to the
DOCUMENT view.
See the NSScrollView documentation:
http://developer.apple.com/techpubs/macosx/Cocoa/TasksAndConcepts/Programmin
gTopics/DrawViews/iAboutScrollViews.html
--============_-1167833166==_ma============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
I want to thank Todd Thomas and Mike Morton for sample code, I got
something working pretty quickly.
One other thing is puzzling me; I'm trying to add these views to a
NSScrollerView by calling
id contentView = [_scrollView contentView];
[contentView
addSubview:[newEventView customView]
positioned:NSWindowBelow
relativeTo:nil];
but they all appear to be on top of each other at the bottom of the
scrollview. I want them added in a list view, how can I achieve this?
->Ken
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.