• 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: Mail.app TextView Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail.app TextView Question


  • Subject: Re: Mail.app TextView Question
  • From: Wade Tregaskis <email@hidden>
  • Date: Sat, 12 Jun 2004 01:33:57 +1000

I'm making a small newsgroup reader. I would to make a preview pane as like in Mail.app. This pane contains at the left side the name/surname/other info about the poster, while the right part contains the author's photo. How can i insert an image inside the textview without losing the impagination (if i try to insert the photo at the right side the company/other infos shows at the bottom of the image while these infos should be at the same height of it).

I believe you should be looking at writing your own NSView subclass which itself contains two (or more) views, one the text view for your content, the other your header view or views, which can contain whatever you like as necessary.

There's plenty of documentation on using custom views and the like - peruse Apple's website.

Wade Tregaskis (aim: wadetregaskis)
-- Sed quis custodiet ipsos custodes?
_______________________________________________
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.


References: 
 >Mail.app TextView Question (From: Develop ML <email@hidden>)

  • Prev by Date: Re: NSBundle and PlugIns
  • Next by Date: NSColorPanel, and de-registering objects from them
  • Previous by thread: Mail.app TextView Question
  • Next by thread: Re: Mail.app TextView Question
  • Index(es):
    • Date
    • Thread