-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
window options - prevent maximize? #58
Comments
It's not possible now, ability to make window unresizable will be added in future |
As a work around you could open a new window with I am using something like this
|
In fact, you set As for prevent maximize, did you mean hiding the |
Removing maximize button and prevent the user to manually change the native window size are both important. A lame use for all this features: the spash intro window for an app |
Is there a way overriding the min_* & max_* on js? if so, u can set the default to the splash page size, and before you show your main app, hide it and do some stuff and show it w/ min_* and max_* to 'auto' if that is possible. I really like node-webkit so far as I am gathering resources on this genre to be used for our internal app. |
Not possible now but I'm working on the new native UI library that will enable it. |
|
Hi guys @zcbenz I have just started to try out node webkit and have been using the manifest examples. I have tried the min_width, min_height, max_width, max_height settings and they are not causing any change when running the app. I have also tried building the .exe version to see if packaging would make any difference, but that did not. The resizable setting is not working either. The settings for width and height do work correctly. I am not sure what I am missing here - I am on Window 7 fyi. |
It's a bug, see #121 I'll fix in next release, thanks for reporting. |
@zcbenz ok cool thanks. |
It was said that new minor versions of node-webkit happen weekly. |
Hello!
Is possible to prevent the node-webkit window to be maximized or resized?
Best Regards
The text was updated successfully, but these errors were encountered: