[SOLVED] I’m using m2 text field. The text is being positioned in wrong position. It must be centered vertically
r
ritesh
03/13/2022, 4:43 AM
textAlign = TextAlign.Center
r
rsktash
03/13/2022, 5:19 AM
It’s not related to this.
OutlinedTextField is positioning the editable text
rsktash
03/13/2022, 5:30 AM
The issue was originating from param
singleLine
. When it is not set default value is false.
The component draws depending on this param
When it is true the textfield is centered vertically otherwise it won’t