Full Screen Sizes [SOLVED]

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
morrell
Posts: 84
Joined: Sat Dec 13, 2014 1:12 am

Full Screen Sizes [SOLVED]

Post by morrell » Thu Jan 29, 2015 12:17 pm

I'm wanting to have my app scale as best it can on mobiles and tablets and I found this information:-

LiveCode 6.5 included a fullscreenMode property. This will scale an app to fit any screen size. You simply create your app at whatever size suits you as a developer and then add the following to your preOpenStack handler:
on preOpenStack
set the fullscreenMode to "exactFit"
end preOpenStack


Does this only work on 6.5 and not Community Edition 7.0.1 as no scaling takes place when I'm using Emulator mode?

Regards,

Ruth
Last edited by morrell on Fri Jan 30, 2015 3:09 am, edited 1 time in total.

SparkOut
Posts: 2947
Joined: Sun Sep 23, 2007 4:58 pm

Re: Full Screen Sizes

Post by SparkOut » Thu Jan 29, 2015 1:38 pm

Hi Ruth,
Full screen mode certainly should work.
Have you got different sized emulator avd's you are trying out? Probably you have only the one and the resize has already happened and won't change any more unless you change the screen aspect?
This thread may be worth a read: http://forums.livecode.com/viewtopic.ph ... 1&p=116442
Please let us know if there is any more specific information or questions you have.

morrell
Posts: 84
Joined: Sat Dec 13, 2014 1:12 am

Re: Full Screen Sizes

Post by morrell » Thu Jan 29, 2015 5:02 pm

Thank you SparkOut.

As you can see from my adv, there is no scaling using the on preOpenStack lines which are above the other code lines in the Header of my single stack.
However, the line 2 set the fullscreenMode to "exactFit" does give a 'Stack Header Chunk can't find object'.

Regards,

Ruth
Attachments
scale1.jpg

morrell
Posts: 84
Joined: Sat Dec 13, 2014 1:12 am

Re: Full Screen Sizes

Post by morrell » Fri Jan 30, 2015 3:08 am

Well I have found an example on LC:
http://lessons.runrev.com/m/15262/l/156 ... ll-devices

and I needed on my second line set the fullscreenMode of me to "mychoice"
Regards,

Ruth

Post Reply