Help with setting fontsize on button

local inputScreenButton = widget.newButton({
x = display.contentCenterX,
y = display.contentCenterY,
id = “inputScreenButton”,
label = “Input Parameters”,
font = native.systemFont,
fontsize = 50,
onPress = goToInputScreen,
shape = “roundedRect”,
cornerRadius = 20

I can’t seem to change the fontsize of the button in the simulator. What am I doing wrong?

It’s fontSize, not fontsize. Lua is case sensitive.

Ah right my bad, thanks. Sorry for the trouble