plugin window size
Created at 28 Jan 2025, 09:48
plugin window size
28 Jan 2025, 09:48
Hi All,
I have a plugin running a Chat in an iframe via a _webView
, displayed inside a customFrame
.
I'd like to configure the default size of the window displaying the plugin.
Problem is:
a. customFrame.Width
and customFrame.Height
are read-only.
b. _webView.Width
and _webView.Height
control only the inner iframe content, not the overall window size.
Is it possible:
- To configure the size of the
customFrame
at the window level? - If not, is it possible to create a button to dynamically adjust the window size?
_webView = new WebView();
var customFrame = ChartManager.AddCustomFrame("My Lovly Chat");
customFrame.Child = _webView;
customFrame.ChartContainer.Mode = ChartMode.Multi;
customFrame.Width = some_size;
customFrame.Height = some_size;
_webView.Width = some_size;
_webView.Height = some_size;
Thanks!