• 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 01:49:30 -0400

On Jul 27, 2008, at 11:31 PM, Jacob Bandes-Storch wrote:
I'm trying to create a Mail-style scroll view, with a view for information (like the view for message headers) above a text view for the content. I created two NSViews in Interface Builder, changed the class of the bottom one to NSTextView,

Is there some reason you didn't drag an NSTextView into the window in the first place?


selected both, and clicked Layout > Embed Objects In > Scroll View.

Are you sure you didn't want a Split View rather than a Scroll View?

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.

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


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

  • Prev by Date: draw string with ellipsis
  • Next by Date: [Moderator] - List Guidelines - Must Read
  • Previous by thread: Re: NSTextView + other NSView in NSScrollView?
  • Next by thread: Re: NSTextView + other NSView in NSScrollView?
  • Index(es):
    • Date
    • Thread