On Feb 4, 2006, at 9:06 AM, Mark wrote:
Hi,
I'm having major problems, trying to put a transparent png as the Icon
for a toolbar item,
for some reason it makes the background white (this also seems to
happen for a Canvas background as well)..
I've looked through the Language Reference and cannot see any option
there, I've also tried *.gif and *.psd's, but all have the same
effect. The only workaround I can see is to take a screen shot of the
app, then use the toolbar background colour as the background for my
icons.
For MacOS X toolbar icons, I have found it simpler to use an .icns file
and set the icon using HIToolbarItemSetIconRef. I explain how to do so
in chapter 3 of my book on declares <http://www.declareSub.com/>.
MacOS X includes a utility, tiff2icns, that will convert TIFF images to
.icns files.
--------------
Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>