我是 Lua 的新手,使用 Corona,我无法弄清楚如何更改字体颜色。
color = { 163, 25, 12 }
不起作用。
myButton = widget.newButton{
id = "open_id",
left = 12,
top = 360,
label = "open",
fontSize = 16,
font = "Helvetica Neue Bold",
color = { 163, 25, 12 },
width = 294,
height = 40,
cornerRadius = 2,
onEvent = onButtonEvent
}