You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Webview wv = new Webview(true, 800, 600); create Webview;
You will see that the window changes from small to large, instead of being 800x600 when it appears.
Looking at the source code, I found that Webview(true, 800, 600) only calls the setSize method internally, and does not set the initial size.
How do I set the default size during initialization?