Thickness of textfield

how can I set tickness for openfl textfields?
it’s seem to be a bug!

Hi @Yooni_Msh, can you show some code which is not working?

label1 = new TextField();
label1.antiAliasType = AntiAliasType.ADVANCED;
label1.thickness = 100;    /// thickness it doesnt support on Haxe!

also in Api Reference ,thickness referred to type of textField!why?
TextFieldType

It appears that there is a bug in the documentation. In the source code there is a thickness var which is commented out, followed by the “type” field. The doc generator wrongly used the description for “thickness”. It appears that the thickness property is not currently supported.

I have put in a pull request to get that fixed.

4 Likes