AW: AW: how to resize icons when resizing objects?

Tiemo Hollmann TB toolbook at kestner.de
Tue Mar 20 03:52:45 EDT 2012


Thanks Jacqueline for your useful hints
Tiemo

> -----Ursprüngliche Nachricht-----
> Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-
> bounces at lists.runrev.com] Im Auftrag von J. Landman Gay
> Gesendet: Montag, 19. März 2012 18:37
> An: How to use LiveCode
> Betreff: Re: AW: how to resize icons when resizing objects?
> 
> 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 hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list