fullscreenmode and rect of a substack on mobile device ?

Ludovic THEBAULT ludovic.thebault at laposte.net
Thu Aug 23 01:59:34 EDT 2018


> Le 22 août 2018 à 22:24, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> a écrit :
> 
> On 8/22/18 3:13 PM, J. Landman Gay via use-livecode wrote:
>> But the stack should still fill the screen and it doesn't.
> 
> This will resize the stack the same way as your "adapt" handler does, so you can eliminate that entirely:
> 
> on preopenstack
>  mobileSetAllowedOrientations("portrait")
>  iphoneUseDeviceResolution true,true
>  set the fullscreenmode of stack "ipad" to "exactFit"
> end preopenstack

Many thanks for finding that this command !
Sadly, it’s only for iOS.

But your previous script must used on android.

Thanks again.





More information about the use-livecode mailing list