Browser widget - Zoom

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
rodneyt
Posts: 128
Joined: Wed Oct 17, 2018 7:32 am

Browser widget - Zoom

Post by rodneyt » Sat Jun 26, 2021 5:47 am

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

rodneyt
Posts: 128
Joined: Wed Oct 17, 2018 7:32 am

Re: Browser widget - Zoom

Post by rodneyt » Sun Jun 27, 2021 2:12 am

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.

rodneyt
Posts: 128
Joined: Wed Oct 17, 2018 7:32 am

Re: Browser widget - Zoom

Post by rodneyt » Mon Jun 28, 2021 4:12 am

Reported as enhancement request at : https://quality.livecode.com/show_bug.cgi?id=23249

stam
Posts: 2635
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Browser widget - Zoom

Post by stam » Mon Jun 28, 2021 9:41 am

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...

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”