Hello all, a newbee to lua, so sorry for being stupid about this.
I currently have this widget set up. But the buttonOne is too small for the iPhone4 and 5 , any help is appreciated
I tried an if statement using this but without avail , keeps crashing
–[[if display.contentHeight == 480 then
buttonOne.pixelWidth = 60
buttonOne.pixelHeight = 50
end]]
local buttonOne = widget.newButton{
width = 60,
height = 50,
left = halfW,
top = screenH/2,
defaultFile = “ButtonImages/One.png”,
overFile = “ButtonImages/OneOverFile.png”,
onEvent = onButtonOneRelease, – event listener function
}