Thanks Jacqueline for your useful hints Tiemo > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:use-livecode- > [email protected]] 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 | [email protected] > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
