Webview html on Widget

Hello everybody,

I would like to use a widget with html. The test in the script (webview) works perfectly. What I have to do so that it finally appears on the widget?

  • Does the widget only work if the whole thing is output as a backgroundImage. Maybe like this: widget.backgroundImage = myHTML

You can only make a screenshot of the WebView and display that as background image.

More info here:

1 Like

Thanks a lot for the fast answer.
Yes I tried this - but my problem in this case: when used html/css with a long table it becomes blurred. You can’t read it anymore.

Do you have an idea what it could be?

Maybe the size of the screenshot and the size of the widget are not the same in pixels. If you make the screenshot in the correct size, but in point units, it will be scaled up to the needed pixel size, which makes it blurry.