adapting button width to string

Eric Chatonet eric.chatonet at sosmartsoftware.com
Wed May 14 04:19:04 EDT 2008


Bonjour Thierry,

Le 14 mai 08 à 10:13, Thierry a écrit :

> Hi all,
>
> looking for any howto/Faqs/Tutorials
> or Doc entry to manage the resizing of a
> button depending on the real width of
> the label ( dynamic one ),
> or put it in the other way
> how to calculate the width in pixels of a line of text.
>
> Thanks for any hints,
>
> Regards,
> Thierry

Have a look at formattedWidth.

Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the use-livecode mailing list