screen dimensions... cm
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
screen dimensions... cm
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
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
Hi Mylord,
You would always need to convert DPI/cm/mm into pixels to use it in Livecode
Best
Klaus
No, since everything on the monitor and in Livecode is measured in pixel, this is not possible!lordmax wrote:...But I haven't found a way to set mm or cm for dimensions
There's a way to do that?
You would always need to convert DPI/cm/mm into pixels to use it in Livecode

Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 184
- Joined: Wed Apr 10, 2013 5:09 pm
Re: screen dimensions... cm
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
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
ThanksKlaus wrote:Hi Mylord,
No, since everything on the monitor and in Livecode is measured in pixel, this is not possible!lordmax wrote:...But I haven't found a way to set mm or cm for dimensions
There's a way to do that?
You would always need to convert DPI/cm/mm into pixels to use it in Livecode![]()
Best
Klaus
It's a sin 'cause everithings in UI and UX is evaluated in mm not in pixel.
^_^
Re: screen dimensions... cm
Yes but not onlyandrewferguson wrote:Hi,
I may be wrong, but from the dimensions you have given it looks like you are making a project for mobile devices.
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.
Thanks.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
-
- VIP Livecode Opensource Backer
- Posts: 184
- Joined: Wed Apr 10, 2013 5:09 pm
Re: screen dimensions... cm
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
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