Hello,
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?
Thanks
Todd
--
Todd Geist
__
g e i s
Hello,
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?
Thanks
Todd
--
Todd Geist
__
g e i s
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
Thanks!
On 10/17/05 8:37 AM, "Scott Rossi" <[EMAIL PROTECTED]> wrote:
> 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.
On 10/17/05 10:17 AM, "Todd Geist" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> 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?
Ken Ray <[EMAIL PROTECTED]> wrote:
> The answer is "yes", you can use the little-known "textShift" property of
> text to shift the image (or the text, your choice) above/below the baseline.
Note that this also useful for larger text sizes, as "superscript" is a
bit too "low" (it seems to be be mi