Page 1 of 1

App Size Issues

Posted: Fri Nov 27, 2015 6:02 am
by Googie85
Hello Guys,

I am writing an Android App that is 768X1024 pixels, the problem I am having is the size of the App in Livecode is larger than my laptop screen. My current workaround is connecting my laptop to my 50" television.

Is there a way that I can zoom out on the App so it fits the laptop screen?

Many Thanks,

Matt.

Re: App Size Issues

Posted: Fri Nov 27, 2015 9:42 am
by LCNeil
Hi Matt,

You should be able to set the scale factor of the stack to reduce its visual size but keep its actual dimension in tact :)

The following is taken from the release information regarding scale factor-
The new scaleFactor stack property allows you to set a custom scale factor for a stack. The scaleFactor property accepts a non-zero real number value which represents the scale multiplier. You can use this when developing stacks that are larger than the available screen space - for example developing a stack to be used on an iPad with a retina display. You can also preview the appearance of your stack on displays with differing display densities.

Scaling a stack to half size:

set the scaleFactor of stack "myLargeStack" to 0.5

Preview the stack appearance on a high-density display:

set the scaleFactor of stack "myApp" to 1.5
This value can also be set within the stacks property inspector.

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
--