Todd Fabacher wrote:

> I find the bast way to set and show an image in a windowShape is use
> backgroundPattern.
> This way you do not need to worry about the image moving or not
> filling the screen. You can set it in the IDE or in code
>
> set the backgroundPattern of *object* to {your* imageID*}

If the object having its backgroundPattern set is the card or stack, proper alignment can depend on the specifics of the image. For example, if the image has a mask inset from the image bounds, setting the backgroundPattern will cause the tiling to begin with the image's topLeft, which can result in a misaligned placement when it gets tiled within the object.

Using a separate object like a graphic would help, though for reasons I don't fully understand I've found no other method of displaying images that render as quickly button icons.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to