The technique I had tried was like create a normal text field, then create a StageTextTextEditor multiline input of the same width and height, and only add that input to the stage.
var commentTF:TextField = AssetMaster.getNewTextField(layoutGroup.width, 50, commentListData.commentData.name,"left");
commentTF.autoSize = TextFieldAutoSize.VERTICAL;
var txtInput:TextInput = new TextInput();
txtInput.text = commentListData.commentData.name;
txtInput.textEditorProperties.multiline = true;
txtInput.width = commentTF.width;
txtInput.height = commentTF.height;
txtInput.verticalAlign = "top";
txtInput.textEditorFactory = function ():ITextEditor {
var editor:StageTextTextEditor = new StageTextTextEditor();
editor.fontFamily = null;
editor.fontSize = 20;
editor.isEditable = false;
editor.multiline = true;
editor.textAlign = "left";
return editor;
};
txtInput.isEditable = false;
layoutGroup.addChild(txtInput);
Everything looks fine on my android device, but on 2/3 of iOS devices, about 50% of the textfields are cut in half vertically, and about 15% don't show any text at all.
Wondering if there is a slightly different way to go about it that would cause less issues? Sorry for the frequent posts but we are supposed to launch this commenting update next week and feeling a bit desperate.