If a newTextField is set as such:
inputField = native.newTextField( tX, tY, tWidth, tHeight ) – where the parameters are set according to the size of the device
How to best set a font size which will fit in that field just right? I’ve looked at object.isFontSizeScaled= true that appears to require a font size to be declared first. If so, is there a common formula for working out font size according to the resulting tHeight? I was hoping for a setting to just make this easy. Or am I not understanding object.isFontSizeScaled according to the docs?
Thanks.
Please see the documentation for a list of the various functions and properties which you can use to control the sizing of input fields and the text within them. The tutorial should cover this as well, so I’m not sure where it’s going awry for you.