Page 1 of 1

Browser widget - Zoom

Posted: Sat Jun 26, 2021 5:47 am
by rodneyt
Hi everyone,

Just curious of the correct way to enable Zoom with the Browser widget. Most browsers (Chrome included) specifically don't want users to set Zoom via javascript.

Is there a correct way to focus, pass through or send keyboard commands (like cmd + or cmd - for zoom) to the browser widget?

~ Rodney

Re: Browser widget - Zoom

Posted: Sun Jun 27, 2021 2:12 am
by rodneyt
According to this thread browser widget does not support resizing, which if true is very disappointing viewtopic.php?t=29278

Unfortunately the suggested method of setting document.body.style.zoom doesn't work for my particular situation. Browsers specifically discourage user from directly setting zoom level, and javascript approaches are not the same as setting browser +/- via keyboard commands.

The browser widget should support zoom programmatically as a property of the widget.

Re: Browser widget - Zoom

Posted: Mon Jun 28, 2021 4:12 am
by rodneyt
Reported as enhancement request at : https://quality.livecode.com/show_bug.cgi?id=23249

Re: Browser widget - Zoom

Posted: Mon Jun 28, 2021 9:41 am
by stam
rodneyt wrote:
Mon Jun 28, 2021 4:12 am
Reported as enhancement request at : https://quality.livecode.com/show_bug.cgi?id=23249
Thanks Rodney, have also added myself to the cc list...