I'm trying to open non-maximised dialogs using showModalDialog, but in Chrome they are always opening maximised. Anyone have any ideas why? It is fine in Firefox.
I've put a working example on jsfiddle:
<a href="javascript:void 0;"
   onclick="showModalDialog('http://jsfiddle.net/');开发者_如何学Python">Go</a>
It turns out that the problem was that I was launching Chrome with WindowStyle = ProcessWindowStyle.Maximised, and this was propagating to child windows. I changed it to WindowStyle = ProcessWindowStyle.Normal and cleared my Chromium user profile, and now it is fine.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论