On Jan 15, 2011, at 8:13 PM, John Joyce wrote:

> Cannot seem to find this in the HIG.
> What type of image would give the inverted look of the built in media types 
> (NSQuicklookTemplate for example) when in a Textured Square Button or 
> Segmented control?
> 
> The images appear black with a clear alpha in Interface Builder.
> 
> I've tried png, tiff, pdf. 
> Tried each type with clear alpha background, with black on white, vice versa.
> No luck.

You need to tell the framework that the is image a template image.  See 
-[NSImage setTemplate:].

The file format doesn't matter.

Cheers,
Ken

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to