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
Full Screen Sizes [SOLVED]
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Full Screen Sizes [SOLVED]
Last edited by morrell on Fri Jan 30, 2015 3:09 am, edited 1 time in total.
Re: Full Screen Sizes
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.
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.
Re: Full Screen Sizes
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
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
Re: Full Screen Sizes
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
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