Open leon-layas opened 4 months ago
The windows and Linux controls are here: https://github.com/minbrowser/min/blob/master/js/windowControls.js. The mac ones are the native OS controls (but you could put a button next to them - look in index.html).
You'll need to send an IPC message to the main process, then add a listener there to call createWindow
.
Hi, I would like it that when I click the full screen button, that the window open's up to a specific size in a particular position?
I actually plan to have, four top-left button's (close, min, full, and custom).
Please can you kindly give me some pointers and the files I would need to modify to achieve this.
Thanks