Page 1 of 1

Android autoFit for browser

Posted: Mon Apr 03, 2017 10:51 pm
by LiadTal6
Hello,

I'm searching for a way to auto fit a page in the mobile browser.
I know that in iOS you can just use the property of "autoFit" and the page is automatically fit himself for the app.
There must to be a way to auto fit a browser page in the android app, and I need your help please.

Thanks.

Re: Android autoFit for browser

Posted: Sun Apr 09, 2017 11:10 am
by MaxV

Code: Select all

set the rect of widget "browser" to the rect of this stack

Re: Android autoFit for browser

Posted: Sun Apr 09, 2017 6:00 pm
by LiadTal6
Thanks, but I'm using livecode 7 and that's not the widget from livecode 8.
Any further help for "autoFit" function in android in livecode 7 for the browser please?

Re: Android autoFit for browser

Posted: Sun Apr 09, 2017 6:34 pm
by Klaus
Hi LiadTal6,

well, the principle is the really same:

Code: Select all

...
revBrowserSet your_browser_id, "rect", the rect of this cd
...
:D


Best

Klaus

Re: Android autoFit for browser

Posted: Tue Apr 11, 2017 10:27 pm
by LiadTal6
Thanks, but that's not the solution for my problem.
The "autoFit" in iOS open the link in the browser in desktop version, but unfortunately this parameter doesn't work in Android.
I want to find an alternative way to do the same thing in Android.

More information about the "autoFit" parameter that I'm talking about you can find here: http://livecode.wikia.com/wiki/MobileCo ... OS_Only.29

Please, any further help?

Thanks.

Re: Android autoFit for browser

Posted: Wed Apr 12, 2017 9:20 am
by Klaus
Hi LiadTal6 ,

sorry, since I do not own any mobile device I did not understand the real meaning of "autofit".
But I am afraid there is nothing you can do with Livecode about this.

I hope someone will prove me wrong however!


Best

Klaus