Setting the icon of a button to be an image

peter9.smith at ps.ge.com peter9.smith at ps.ge.com
Mon Jan 12 04:50:41 EST 2004


I have a button and an image of exactly the same size.  When I set the
button's showIcon to true and the icon to the image ID the image does appear
in the button but it's shifted up about 5 pixels.

I've checked out all the properties of the button and icon the inspectors
offer but haven't been able to get rid of this 5 pixel shift.  I'm using Rev
2.1 on Mac OSX 10.2.8.

Should what I'm trying to do work?  Any advice welcome.

Thanks, Peter Smith.


More information about the use-livecode mailing list