Return to Snippet

Revision: 33057
at October 5, 2010 17:34 by jafar


Initial Code
var padFormat:Number = new Number();
padFormat = 10;
	
your_txt.setStyle("textPadding",padFormat);

Initial URL

                                

Initial Description
If you ever wanted to add padding to a Text Input instance, use the \"textPadding\" Style under the Text Input Class like so.

Initial Title
Text Padding and Margins

Initial Tags
text

Initial Language
ActionScript 3