vAlign Images in lines of text
Scott Rossi
scott at tactilemedia.com
Mon Oct 17 11:37:23 EDT 2005
Recently, Todd Geist wrote:
> I used set imageSource to put a little Icon in a line of text.
>
> What I get is both the Icon and the text aligned to the text base line
>
> What I want is for the text to be centered on the Icon.
>
> Is this possible?
I've done this by adding transparent space to the image (top or bottom
depending on the image and the textHeight/textSize of the field). You may
also need to fiddle with the fixedLineheight to get the alignment to work.
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com
More information about the use-livecode
mailing list