Layout NSTextAttachment
Layout NSTextAttachment
- Subject: Layout NSTextAttachment
- From: Dado Colussi <email@hidden>
- Date: Mon, 6 Jul 2009 17:05:56 +0200
I want to layout an NSTextAttachment (an image) to the right margin inside a
text paragraph such that text would flow around the image. I have managed to
coordinate the text container to correctly adjust the proposed rows, and to
make my layout manager to draw the attached image to the correct place in
the text container.
My problem is that the text row, where the attachment is, becomes as high as
the attachment, and I don't seem to find an easy way around it.
My question is: what is the right way to draw an attachment, and to let text
flow around it?
_______________________________________________
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