adapting button width to string

Mark Schonewille m.schonewille at economy-x-talk.com
Wed May 14 04:29:30 EDT 2008


Hi Thierry,

Can't you simply set the width of the button to its formattedWidth?

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz

Op 14-mei-2008, om 10:13 heeft Thierry het volgende geschreven:

> 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






More information about the use-livecode mailing list