[OpenFl 3] TextFields are taller than they should be

I was having some problems tracing width and height of display objects, and they have been fixed with the last update.

But now I found another small issue and, since I didn’t find it while searching the forums, I’m posting here. :sweat_smile:

TextFields now have an unexpected behavior when targeting the same targets I was having issues (Windows, HTML5 and Neko), as their size appears to be taller than desired originally, as visible in this image:

I tested this with Arial (TTF) and Dekar (OTF) in the latest update. Using legacy mode this doesn’t happen.

Here’s basically the code I’m using for each TextField:

var Field:TextField = new TextField();
var Looks:TextFormat = new TextFormat( Assets.getFont( "fonts/arial.ttf").fontName, 64 );
Field.border = true;
Field.autoSize = TextFieldAutoSize.LEFT;
Field.antiAliasType = AntiAliasType.ADVANCED;
Field.multiline = false;
Field.selectable = false;
Field.textColor = 0xe0f7f5;
Field.text = "too much";
Field.type = TextFieldType.DYNAMIC;
Field.setTextFormat( Looks);
addChild( Field );

Thanks! :blush: And sorry if I’m being too much annoying. :flushed:

EDIT: Solved already! Thanks a lot @singmajesty! :smile: