Hello, i use CoronaSDK 2012.846.
I have the problem in native.newTextField() function on different devices.
On Androids, and iPad it`s work fine, but the same code on the same build on iPhone4 multiples the coordinates x and y.
It looks like mistake in excess doubling from iphone 3g to retina.
All other objects and graphics are shown normaly.
Can you test this situation ? [import]uid: 86585 topic_id: 29003 reply_id: 329003[/import]
Can you post your textfield code? [import]uid: 59735 topic_id: 29003 reply_id: 116801[/import]
This code from the ansca sample:
local defaultField
local function textListener( event )
if event.phase == “began” then
– user begins editing textField
print( event.text )
elseif event.phase == “ended” then
– textField/Box loses focus
elseif event.phase == “ended” or event.phase == “submitted” then
– do something with defaulField’s text
elseif event.phase == “editing” then
print( event.newCharacters )
print( event.oldText )
print( event.startPosition )
print( event.text )
end
end
– Create our Text Field
defaultField = native.newTextField( 160, 240, 180, 30 )
defaultField.userInput = textListener
defaultField:addEventListener( “userInput”, defaultField ) [import]uid: 86585 topic_id: 29003 reply_id: 116818[/import]
Hey there, have you filed this? [import]uid: 52491 topic_id: 29003 reply_id: 117299[/import]