Device rotation and browser widget

Sannyasin Brahmanathaswami brahma at hindu.org
Thu Sep 8 14:51:48 EDT 2016


The caveat is: Safari app in iOS and Chrome app on Android "own" the entire card rect.  

Since, in LC we can set that rect for the browser widget to anything we want… how exactly should it be have when the phone is turned sideways? or turned "upright" (if watching a movie in e.g. Youtube, sideways)  

see:

http://quality.livecode.com/show_bug.cgi?id=17906

I offered one algorithm (brainstorm) at the bug report above. Anyone else interested can please add themselves to watch that bug and possibly comment on a better option for how a truly "responsive" browser widget should work. What hooks, props, are needed to fine tune the control of the browser widget… both placement on the card and orientation of web content in that rect?

BR

On 9/8/16, 6:42 AM, "use-livecode on behalf of J. Landman Gay" <use-livecode-bounces at lists.runrev.com on behalf of jacque at hyperactivesw.com> wrote:

    I tried to do that but I'm not getting any resizestack message at all. One 
    permutation did send the message but the browser still failed to resize 
    correctly so I changed the script and now I can't remember what I did when 
    the message was sent. I've been juggling things between orientationChanged, 
    resizestack, and a browser setup handler, and only one combination gave me 
    a resizestack message.
    
    Too many variables.




More information about the use-livecode mailing list