Help w/ orientation...

I just got Beta 8… In the previous versions the content settings zoomStretch and zoomEven were backwards and also the width/height were swapped or something…so I filed a bug…

But in beta 8 I can’t get my landscape app looking ok at all on any devices (HTC Magic and Samsung Galaxy S). I have tried several combinations of settings and configs but I can’t get it. On the simulator here is what (kinda)works:

application = {
content = { width = 320, height = 480, scale = “zoomStretch” }
}
and in my build.settings:

orientation =
{
default = “landscapeRight”,
supported =
{
“landscapeLeft”, “landscapeRight”,
},
},
But… on the simulator/nexusone, corona isnt stretching to fit the content to screen, but it is zooming it instead.

anyone get this to work? help? [import]uid: 5022 topic_id: 1797 reply_id: 301797[/import]

This is a known bug, FB#657. We will fix this asap, but didn’t have time for this week’s drop. [import]uid: 54 topic_id: 1797 reply_id: 5374[/import]

Thanks for the quick reply Eric. [import]uid: 5022 topic_id: 1797 reply_id: 5377[/import]

Looks like the problem is with “zoomStretch” in Landscape mode for both iPad and Android with scaling involved.

You could use “zoomEven” and display.viewableContentWidth and display.viewableContentHeight to determine the visible area and adjust objects on the screen.

The “letterbox” mode may work now with the new xAlign and yAlign parameters to move the viewable screen to the top (new in Beta 8).

-Tom [import]uid: 7559 topic_id: 1797 reply_id: 5378[/import]