• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Multiple Views in a NSScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Multiple Views in a NSScrollView
      • From: Philip Dow <email@hidden>
  • Prev by Date: Sort Descriptors and autosave
  • Next by Date: NSConnection w/ NSSocketPort problem
  • Previous by thread: Sort Descriptors and autosave
  • Next by thread: Re: Multiple Views in a NSScrollView
  • Index(es):
    • Date
    • Thread