docs: background-color is Linux-only for now
This commit is contained in:
parent
15e0248d82
commit
f7840e7379
1 changed files with 2 additions and 7 deletions
|
@ -61,13 +61,8 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
|
||||||
key is pressed.
|
key is pressed.
|
||||||
* `enable-larger-than-screen` Boolean - Enable the window to be resized larger
|
* `enable-larger-than-screen` Boolean - Enable the window to be resized larger
|
||||||
than screen.
|
than screen.
|
||||||
* `background-color` String - Window's background color as Hexadecimal value.
|
* `background-color` String - Window's background color as Hexadecimal value,
|
||||||
```javascript
|
like `#66CD00` or `#FFF`. This is only implemented on Linux.
|
||||||
var win = new BrowserWindow({ width: 800, height: 600, 'background-color': '#66CD00' })
|
|
||||||
|
|
||||||
// #abc will be expanded to #aabbcc
|
|
||||||
var win = new BrowserWindow({ width: 800, height: 600, 'background-color': '#fff' })
|
|
||||||
```
|
|
||||||
* `dark-theme` Boolean - Forces using dark theme for the window, only works on
|
* `dark-theme` Boolean - Forces using dark theme for the window, only works on
|
||||||
some GTK+3 desktop environments.
|
some GTK+3 desktop environments.
|
||||||
* `transparent` Boolean - Makes the window [transparent](frameless-window.md).
|
* `transparent` Boolean - Makes the window [transparent](frameless-window.md).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue