I have the following config.lua
application = { content = { width = 160, height = 240, scale = "letterBox", xAlign = "left", yAlign = "top", fps = 60 } }
And I calculate the width and height by the following code:
print("actualContentWidth = "..math.floor(display.actualContentWidth + 0.5)) print("actualContentHeight = "..math.floor(display.actualContentHeight + 0.5))
Our game is in landscape mode and on every device I get the height of 160px and only the width will change
But on the iPad the height is 180px
Is this supposed to happen? Is this the only device that will have a different height? Is there a way to also let the iPad take the same height as all other devices?