Skip to content

Commit c59b36d

Browse files
committed
WinForms - Fix initial width
- Quick fix, we should try passing the initial size through to CreateBrowser
1 parent d83c1e2 commit c59b36d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CefSharp.OutOfProcess.WinForms/ChromiumWebBrowser.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ int IChromiumWebBrowserInternal.Id
8686
void IChromiumWebBrowserInternal.OnAfterBrowserCreated(IntPtr hwnd)
8787
{
8888
_browserHwnd = hwnd;
89+
90+
ShowInternal(Width, Height);
8991
}
9092

9193
/// <inheritdoc/>

0 commit comments

Comments
 (0)