nw.js icon indicating copy to clipboard operation
nw.js copied to clipboard

How to disable window maximize

Open MeowSprite opened this issue 11 years ago • 3 comments

I wrote a frameless window with a title using '-webkit-app-region:drag' options. And also set the window fixed size. I don't want this window maximized. But when double-clicking the title, it's maximized. the follow code is my way to resolve this problem now. win.on('maximize', function(){ win.unmaximize(); });

And is there any better solutions? Thanks!

MeowSprite avatar Jul 21 '15 03:07 MeowSprite

:+1:

fritx avatar Aug 10 '15 08:08 fritx

:+1:

zetsin avatar Aug 11 '15 22:08 zetsin

related: #3274 I had a workaround yesterday... hope that helps

fritx avatar Aug 12 '15 01:08 fritx