Hi,
I've seen elsewhere (I think it was
@atilim) say that, even if you're designing for landscape, you should still enter the logical dimensions in portrait in your project settings, e.g. 320 x 480 instead of 480 x 320. However, I've just been scratching my head on getLogicalWidth and getLogicalHeight as, even in landscape, these still seem to work based on portrait. Is that correct? It's a little odd - in order to center something horizontally in landscape I have to use getLogicalHeight rather than getLogicalWidth which is what I'd expect. With this in mind as well, are there other places where I'll find this kind of disconnect between orientation and width and height?
Cheers,
Gareth
Comments
Here are the differences described:
http://appcodingeasy.com/Gideros-Mobile/Difference-between-content-logical-and-device-dimensions-in-Gideros-Mobile
Likes: atilim
It should change with next 2012.2 stable release, atleast till next betas.
You can use the local documentation that comes with the installation: {Gideros Installation Directory}/Documentation/reference_manual.html The documentation on the web reflects beta3.
@ar2rsawseen fortunately, there won't be any betas after 2012.2