Page 1 of 1
screen dimensions... cm
Posted: Tue May 07, 2013 12:58 pm
by lordmax
Hi to all
Plese excuse me if this is a stupid topic
I'm new of livecode and I need to work on some template for mobile.
Now there's a real caos in dimensions.
What I hope to do is to create a new stack and then set its dimension (width and height) in cm or mm and not in pixel because if I work with a screen of 960x640 px I cant have a good impression of the final impression.
But I haven't found a way to set mm or cm for dimensions
There's a way to do that?
I hope to be clear enough
P.S. I know that dimension depends on dpi and not pixel
Thanks
Re: screen dimensions... cm
Posted: Tue May 07, 2013 1:41 pm
by Klaus
Hi Mylord,
lordmax wrote:...But I haven't found a way to set mm or cm for dimensions
There's a way to do that?
No, since everything on the monitor and in Livecode is measured in pixel, this is not possible!
You would always need to convert DPI/cm/mm into pixels to use it in Livecode
Best
Klaus
Re: screen dimensions... cm
Posted: Tue May 07, 2013 3:52 pm
by andrewferguson
Hi,
I may be wrong, but from the dimensions you have given it looks like you are making a project for mobile devices.
The best way to test mobile apps is to test them on a real device, and LiveCode has facilities for this.
You should find instructions in the iOS or Android Release notes, which are under the Help menu.
If you are developing for iOS devices you need a recent intel mac, for android you need mac or windows (I don't know if Linux is officially supported yet!)
Andrew
Re: screen dimensions... cm
Posted: Wed May 08, 2013 8:45 am
by lordmax
Klaus wrote:Hi Mylord,
lordmax wrote:...But I haven't found a way to set mm or cm for dimensions
There's a way to do that?
No, since everything on the monitor and in Livecode is measured in pixel, this is not possible!
You would always need to convert DPI/cm/mm into pixels to use it in Livecode
Best
Klaus
Thanks
It's a sin 'cause everithings in UI and UX is evaluated in mm not in pixel.
^_^
Re: screen dimensions... cm
Posted: Wed May 08, 2013 8:48 am
by lordmax
andrewferguson wrote:Hi,
I may be wrong, but from the dimensions you have given it looks like you are making a project for mobile devices.
Yes but not only
I have to make an app that works on win, linux, maybe mac, iPhone and Android (at least some models) and I hope to not have to reworks dimensions for every sistem.
andrewferguson wrote:
The best way to test mobile apps is to test them on a real device, and LiveCode has facilities for this.
You should find instructions in the iOS or Android Release notes, which are under the Help menu.
If you are developing for iOS devices you need a recent intel mac, for android you need mac or windows (I don't know if Linux is officially supported yet!)
Andrew
Thanks.
Re: screen dimensions... cm
Posted: Wed May 08, 2013 1:13 pm
by andrewferguson
Hi,
To test the app on other desktop systems, why not try VirtualBox?
https://www.virtualbox.org/ It can test many desktop operating systems, the main exception being the Mac OS X, and is really useful to test apps to make sure they run on all platforms.
And when you are making your app, try to make it not screen dimension specific, so you can alter the pixel dimensions and the app will still work.
Andrew