maskkid / open-webkit-sharp

Automatically exported from code.google.com/p/open-webkit-sharp
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Change PopupWindow size #137

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
how can I get the size of popupwindow when i use javascript to open a window 
with width and height?My code is following :
in my html page i write:
window.open ('page.html','newwindow','height=600,width=400);
c# code:
  Form f = new Form();
  f.Show();
  f.Size = e.WebKitBrowser.Size;

e.WebKitBrowser.size is 319,245;

why?
how can I get the size?

Original issue reported on code.google.com by zhy36...@gmail.com on 13 Sep 2012 at 1:59