From d8b69d66d24b5d79d76ccc23a6f1b3ea21b6ce4f Mon Sep 17 00:00:00 2001 From: Koji Nakamaru Date: Sat, 16 Nov 2024 10:24:52 +0900 Subject: [PATCH] adjusted margins. --- sample/Assets/Scripts/SampleWebView.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/Assets/Scripts/SampleWebView.cs b/sample/Assets/Scripts/SampleWebView.cs index 2e43629b..436779ca 100644 --- a/sample/Assets/Scripts/SampleWebView.cs +++ b/sample/Assets/Scripts/SampleWebView.cs @@ -150,7 +150,7 @@ IEnumerator Start() //webViewObject.SetScrollbarsVisibility(true); - webViewObject.SetMargins(5, 100, 5, Screen.height / 4); + webViewObject.SetMargins(0, 0, 0, 0); webViewObject.SetTextZoom(100); // android only. cf. https://stackoverflow.com/questions/21647641/android-webview-set-font-size-system-default/47017410#47017410 webViewObject.SetVisibility(true);