Dynamic labels for buttons with (oddshaped) icon images?
J. Landman Gay
jacque at hyperactivesw.com
Fri Feb 6 13:25:40 EST 2009
Klaus Major wrote:
>> No bells and whistles though, it just mashes the name into the center.
>> The math may need some jiggl...um, adjustments.
> Tested a bit and did some finetuning:
> put (the height of btn 1 - the textheight of btn 1 - the effective
> textsize of btn 1) div 2 into tMargin
> set the margins of btn 1 to 0,tMargin,0,tMargin
Excellent! This will go into my library. Thanks for the tuning.
>> Yours is much prettier. Everything you do is much prettier.
> No doubt, but he's a graphics guy, you know?! ;-)
Yeah. If I weren't so awed, I'd be miffed at his talent. :)
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the Use-livecode