Multiple Views in a NSScrollView
Multiple Views in a NSScrollView
- Subject: Multiple Views in a NSScrollView
- From: Robert Spychala <email@hidden>
- Date: Tue, 27 Dec 2005 14:28:20 -0500
Hi,
I'm trying to place a couple of NSImageView, a couple NSTextFields
(red and blue backgrounds) and 1 NSTextView (green background) in a
custom NSScrollView subclass.
I override initWithFrame and create my Views inside. Everything shows
up in my CustomView in the application as they should and are resized
properly except for the NSTextView. Unfortunately the NSTextView
draws itself over the other views.
I was wondering if there is some source code out there that does this
that i could learn from... I need a simple view that contains an
NSTextField and a NSTextView and that is scrolled based on how much
text is in the NSTextView.
My class in question can be found at:
http://tastesgood.org/media/
UIEntryDocumentView.m and a screenshot of the result at: http://
tastesgood.org/media/UIEntryDocumentView.png
thanks,
r.S.
http://tastesgood.org/Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden