Hi,

I'm having a problem with text padding on the V3 TextInput component. I just want to get my text to appear properly vertically centered in the text field, so I added some text padding:
                        
var textFormatTextField:TextFormat = new TextFormat();
textFormatTextField.size = 12;
textFormatTextField.color = 0xFFFFFF;
textFormatTextField.font = "Myriad Pro";
StyleManager.setComponentStyle(TextInput, "textFormat", textFormatTextField);
StyleManager.setComponentStyle(TextInput, "textPadding", 4);

But I find that it makes the descenders on my text cut off, like the attached screenshot.

Has anyone experienced this before, or have any idea of how to fix it?

Cheers,
Piers
[EMAIL PROTECTED]







_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to