I’m using textfield.autosize in a project targeting flash and html5 :
var txt:TextField = new TextField(); txt.autoSize = TextFieldAutoSize.LEFT; txt.border = true; txt.text = "Hello world"; addChild(txt);
No problem with flash but html5 target does not seem to make the resize correctly :
(flash on top and html5 in bottom)
Any idea ?