Hey,
I am trying to implement a textfiled:
local savename = native.newTextField( 0, 0, 200, 48 ) sceneGroup:insert (savename) savename.x = centerX savename.y = centerY savename.inputType = "default" local hintText = "Type save name" savename.text = hintText savename.font = native.newFont( "Helvetica-Bold", 16 ) savename:setTextColor( 0, 0, .8 ) savename.hasBackground = true
But it doesn’t get rendered properly in the simulatorthe textfiled is completely invisible including frame and ‘hintText’, but if I hover over where it’s supposed to be the cursor turn to input although I can’t see anything I’m typing, Any idea why?
Thanks!!!