asticode/go-astilectron

Electron `window.setContentSize` equivalent?

maddie opened this issue · 1 comments

Currently, even with UseContentSize option set to true in WindowOptions, calling window.Resize() still resizes the browser window instead of the page viewport.

Is there an equivalent method of calling window.setContentSize like this in the Electron document?

Thanks.

Hi @asticode, sorry to be pushy but I need this feature on a project I'm currently working on. It would be a great help if you can help review this change and asticode/astilectron#52.

Thanks!