On 7 Dec 2012, at 17:40, Leonardo wrote:
> Hi,
> I am getting serious difficulties at drawing an attributed string within an
> attachmentCell and get it aligned on the baseline.
> I have a NSTextView. I add an attachment with its attachmentCell.
> In the method cellFrameForTextContainer I return
Hi,
I am getting serious difficulties at drawing an attributed string within an
attachmentCell and get it aligned on the baseline.
I have a NSTextView. I add an attachment with its attachmentCell.
In the method cellFrameForTextContainer I return a
cell.frame.height = font.ascender - font.descen