[SOLVED] Set zoom for Webview lazarus / 43-Android ---------------------------------------------------------------------- maurobio · 2023-05-20 20:05 Dear ALL, I'm using a webview in my (very simple) Android app, which is displayed when the app is started. But the website is zoomed in quite a lot, and I want it to be zoomed out to fit the width of the screen. How can I achieved that? I found a lot of tips for doing it in Java, like a call to 'jWebView.setInitialScale(ZOOM_LEVEL);', but this does not appear to work with LAMW. Thanks in advance for any assistance you can provide. With warmest regards, ---------------------------------------------------------------------- jmpessoa · 2023-05-21 00:07 You can try: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TAndroidModule1.AndroidModule1JNIPrompt(Sender: TObject);begin        WebView1.SetLoadWithOverviewMode(True);        WebView1.SetUseWideViewPort(True);end;  Edited:  added  "SetInitialScale",  but not tested.... ---------------------------------------------------------------------- maurobio · 2023-05-21 11:24 Hi, @jmpessoa! Thanks, it works fine! With best regards,