hi.
i’m getting a warning in console from a simple code with newTextField like this:
local myField = native.newTextField( 10, 30, 180, 30 ) myField.font = native.newFont( native.systemFontBold, 18 )
if i change to newTextbox no warning is presented:
local myField = native.newTextBox( 10, 30, 180, 30 ) myField.font = native.newFont( native.systemFontBold, 18 )
maybe this is a bug? tried other fonts same problem.
also the example in
http://docs.coronalabs.com/api/type/TextField/font.html#TOC
is wrong.
should be:
local myField = native.newTextField( 10, 30, 180, 30 ) myField.font = native.newFont( native.systemFontBold, 18 )
in the example it shows:
local myField = native.newTextField( 10, 30, 180, 30 ) local myField.font = native.newFont( native.systemFontBold, 18 )
second line can’t have local.
I’m using build 2607 windows version.
