mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
docs: Make it clear that size constraints only apply for users
[ci skip]
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user