AW: how to resize icons when resizing objects?

J. Landman Gay jacque at
Mon Mar 19 13:36:48 EDT 2012

On 3/19/12 6:08 AM, Tiemo Hollmann TB wrote:
> Hi Ken,
> hmmm, didn't thought about that yet. A button with it's predefined different
> states was the first choice.

I use buttons for that too. The way to resize the icon is to resize the 
images you are using as icons. Then the button icon will also change 
size. Make sure the images are locked or they won't keep their new sizes.

The script needs to adjust the image sizes before the card is drawn. 
Otherwise the icon won't change size until the next redraw, usually when 
the user presses the button or leaves the card and comes back.

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the Use-livecode mailing list