App Size Issues

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Googie85
Posts: 227
Joined: Tue Aug 05, 2014 10:07 am

App Size Issues

Post by Googie85 » Fri Nov 27, 2015 6:02 am

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.

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: App Size Issues

Post by LCNeil » Fri Nov 27, 2015 9:42 am

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
--

Post Reply