Device rotation and browser widget
J. Landman Gay
jacque at hyperactivesw.com
Thu Sep 8 12:42:58 EDT 2016
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.
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 8, 2016 11:32:11 AM Monte Goulding <monte at appisle.net> wrote:
> Hmm... Have you tried wrapping the resizestack handler in try and putting
> any error or otherwise logging the message
>
> Sent from my iPhone
>
>> On 8 Sep 2016, at 8:35 AM, J. Landman Gay <jacque at hyperactivesw.com> wrote:
>>
>> For a mobile app, I am trying to get a card containing a browser widget to
>> rotate and resize/reposition when the device is rotated. It seems I can't
>> set the rect of the widget, it doesn't respond correctly or errors, though
>> the orientation of its content does change. I've tried too many things to
>> list them all but no success. OrientationChanged does trigger but
>> resizeStack usually doesn't for some reason.
>>
>> Basically what I'm seeing is that LC handles the rotation but doesn't
>> reposition or resize the widget.
>>
>> Has anyone done this? I'm testing on Android for now.
>>
>> --
>> Jacqueline Landman Gay | jacque at hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list