Responsive browser window for custom modal dialog


#1

I’m trying to create a responsive dialog window, but BrowserWindow defaults to 800x600, and it appears there’s no good way to make a “responsive” window that sizes to content without adding some javascript to measure and then call setSize. Has anyone else found a better way to do this?


#2

I think this is what people are discussing here https://github.com/electron/electron/issues/1335