• 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
Layout NSTextAttachment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Layout NSTextAttachment
      • From: Kyle Sluder <email@hidden>
    • Re: Layout NSTextAttachment
      • From: Martin Wierschin <email@hidden>
  • Prev by Date: Re: Font matching
  • Next by Date: Re: How to share Cocoa classes?
  • Previous by thread: Re: Subject: Re: How to share Cocoa classes?
  • Next by thread: Re: Layout NSTextAttachment
  • Index(es):
    • Date
    • Thread