Auto-size buttons?

Jeanne A. E. DeVoto jeanne at runrev.com
Sat Dec 28 15:27:02 EST 2002


At 10:11 PM -0800 12/27/02, Mark Swindell wrote:
>Is there a way to auto-size buttons so that they grow/shrink to fit their
>labels with a developer-defined margin?

Try setting their width to their formattedWidth plus the desired margin * 2
(and height/formattedHeight likewise).

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/





More information about the Use-livecode mailing list