Is anyone else noticing something funky with the daily builds (including the latest, 2014.2147) and native.newTextField?
I have a registration page with two text fields, till this last week it was fine and worked great. Now, however, I notice that on simulator/Android all is well but on iPhone 4 (with iOS 7) the text fields are being drawn waaaay off.
Attached is a screenshot that shows what I’m seeing. I have tried tweaking anchor points as well (no luck) but again this was all working post-graphics 2.0. Just fishing to see if anyone else has noticed similar behaviour.
Here is the code I use to create them:
email = native.newTextField( 350, 220, 250, 70 ) email:addEventListener('userInput', onEmail) email.font = native.newFont(native.systemFont, 14) email.size = 14 email.anchorX = 0 email.anchorY = 0 barcodeNumber = native.newTextField( 350, 305, 250, 70 ) barcodeNumber:addEventListener('userInput', onBarcodeNumber) barcodeNumber.inputType = "number" barcodeNumber.font = native.newFont(native.systemFont, 14) barcodeNumber.size = 14 barcodeNumber.anchorX = 0 barcodeNumber.anchorY = 0
-
Using storyboard I’ve placed this code on enterScene as well as createScene with no change in behaviour.
-
Tweaking or removing explicit anchors also doesn’t fix anything and in fact messes things up for Android/simulator as expected.
Any ideas?