docs: Make it clear that size constraints only apply for users

[ci skip]
This commit is contained in:
Cheng Zhao 2016-05-06 14:21:19 +09:00
parent aa516ae01a
commit a4405dad45

View file

@ -96,6 +96,11 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
* `webPreferences` Object - Settings of web page's features. See more about
this below.
When setting minimum or maximum window size with `minWidth`/`maxWidth`/
`minHeight`/`maxHeight`, it only constrains the users, it won't prevent you from
passing a size that does not follow size constraints to `setBounds`/`setSize` or
to the constructor of `BrowserWindow`.
The possible values and behaviors of `type` option are platform dependent,
supported values are: