• 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
Re: NSTextView + other NSView in NSScrollView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView + other NSView in NSScrollView?


  • Subject: Re: NSTextView + other NSView in NSScrollView?
  • From: Andy Lee <email@hidden>
  • Date: Mon, 28 Jul 2008 10:23:39 -0400

On Jul 28, 2008, at 9:59 AM, Jacob Bandes-Storch wrote:
On Jul 27, 2008, at 10:49 PM, Andy Lee wrote:
If you were trying to create a Mail-like layout, I would have expected your two views to be an NSTableView and an NSTextView, both embedded in a Split View.
No... what I want is like the bottom half of Mail's split view, with the view for the headers and the text view with the message content.

Oh.

Maybe it would help if you first wrap your two views in an enclosing view, get that working (get the resizing and auto-growing right), and put that (single) view into an NSScrollView.

That seems to be Mail.app's approach. I made a copy of Mail.app and looked at the nib file MessageViewerContents.nib.

--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


References: 
 >NSTextView + other NSView in NSScrollView? (From: Jacob Bandes-Storch <email@hidden>)
 >Re: NSTextView + other NSView in NSScrollView? (From: Andy Lee <email@hidden>)
 >Re: NSTextView + other NSView in NSScrollView? (From: Jacob Bandes-Storch <email@hidden>)

  • Prev by Date: Re: NSTextView + other NSView in NSScrollView?
  • Next by Date: Authenticate Password.
  • Previous by thread: Re: NSTextView + other NSView in NSScrollView?
  • Next by thread: Re: NSTextView + other NSView in NSScrollView?
  • Index(es):
    • Date
    • Thread