Hi Rob,
i tried it with your example on the second page but with my config file (800x1200). Here is the code:
local fontSize = 22 / display.contentScaleY print(fontSize) print(display.contentScaleY) local yearIF = native.newTextField( (display.contentWidth / 2), 180, (display.contentWidth\*0.45), fontSize\*3) yearIF.font = native.newFont( native.systemFont, \_G.fontSize ) yearIF.size = fontSize yearIF.text = "" yearIF:setTextColor( 81/255, 81/255, 81/255 ) yearIF.inputType = "number"
I only changed the font size from 12 to 22 and set the height of the text field to 3*fontSize.
The result on a Nexus 4 is that the text is cut off halfway. Is there any formula how big the height of the text field must be compared to the font size? 3*fontSize seems not enough.
P.S.
If i take your original values:
local fontSize = 12 / display.contentScaleY
and height of text = 35 i do not see any chars in the text field with my config file.