From e6ba129c382d12c87483876b37f11f892a3bd580 Mon Sep 17 00:00:00 2001 From: Nikita Tsukanov Date: Sat, 19 Sep 2015 00:14:49 +0300 Subject: [PATCH] Use predefined default size for embedded windows --- src/Windows/Perspex.Win32/Embedding/EmbeddedWindowImpl.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Windows/Perspex.Win32/Embedding/EmbeddedWindowImpl.cs b/src/Windows/Perspex.Win32/Embedding/EmbeddedWindowImpl.cs index a4e6bec9e4..052e83a28f 100644 --- a/src/Windows/Perspex.Win32/Embedding/EmbeddedWindowImpl.cs +++ b/src/Windows/Perspex.Win32/Embedding/EmbeddedWindowImpl.cs @@ -19,10 +19,10 @@ namespace Perspex.Win32 atom, null, (int)UnmanagedMethods.WindowStyles.WS_CHILD, - UnmanagedMethods.CW_USEDEFAULT, - UnmanagedMethods.CW_USEDEFAULT, - UnmanagedMethods.CW_USEDEFAULT, - UnmanagedMethods.CW_USEDEFAULT, + 0, + 0, + 640, + 480, WinFormsControl.Handle, IntPtr.Zero, IntPtr.Zero,