My goal is to create a Menu Item with an icon in between text elements.
Of course you can always have an image to the left of all the text by
setting the image property of a menu item but I want
a menu item like this... -> "Left Text" IMAGE "Right Text" and I don't want
to convert the text to image data to do this.
The reason is that when you covert the text to an image and just make the
Menu Item one big image with no real text
when the user rolls over the menu item it doesn't behave properly in terms
of changing the color of the text.
I ran across this page...
http://www.cocoabuilder.com/archive/cocoa/131543-nsattributedstring-with-embedded-image.html
and wanted to try the solution at the bottom.

My image is in a NSImageMBS but right now my code is hard crashing trying
to use NSFileWrapperMBS technique.



On Fri, Apr 3, 2015 at 10:09 AM, Christian Schmitz <
supp...@monkeybreadsoftware.de> wrote:

>
> > Am 03.04.2015 um 15:06 schrieb Dean Davis <after...@gmail.com>:
> >
> > NSTextAttachment working good but now as I advance using it I see I may
> > also need NSTextAttachmentCell.
>
> maybe you want to tell me why you need it?
>
> Some method missing?
>
> Sincerely
> Christian
>
> --
> Read our blog about news on our plugins:
>
> http://www.mbsplugins.de/
>
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> mbsplugins@monkeybreadsoftware.info
>
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
>
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to