PDA

View Full Version : Dynamic Autosized text - font cropping issue


thingonaspring
05-21-2007, 04:20 PM
Hi,

I have a text field that is dynamic, and autosized. If the text inside this starts with a character such as a "v", a "w", or a "y" (etc), there is a slight amount of cropping that occurs, which although slight, is enough for a client to pick up on. If you zoom right in at runtime, the font appears to be fine. I wondered if anybody else has experienced this, and whether they can suggest a workaround?

I'm not sure if it's a problem with the font itself, or the autoSize, or a combination of both, as I'm sure I've seen it before, but never had to actually fix it properly... I can't just add a space in before the letter, as it will then display differently to other instances on the same screen, which again, the client will pick up on.

Thanks in advance for any suggestions!

thingonaspring
05-22-2007, 09:45 AM
Ah, my mistake. Just realised the text is actually in an MX (Radio button) component, and not the dynamic text field I thought it was in. So amending the component script to allow a slightly larger leftMargin fixed my problem afterall!

Thanks anyway (for er... reading :p )