Re: Mail.app TextView Question
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.