diff --git a/default_app/default_app.js b/default_app/default_app.js index eda1300f0079..200e8c585af2 100644 --- a/default_app/default_app.js +++ b/default_app/default_app.js @@ -15,6 +15,7 @@ exports.load = function (appUrl) { width: 800, height: 600, autoHideMenuBar: true, + backgroundColor: '#A5ECFA', useContentSize: true }) mainWindow.loadURL(appUrl) diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index e42b2d9bd090..0e79659854ae 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -83,8 +83,7 @@ It creates a new `BrowserWindow` with native properties as set by the `options`. than screen. Default is `false`. * `backgroundColor` String - Window's background color as Hexadecimal value, like `#66CD00` or `#FFF` or `#80FFFFFF` (alpha is supported). Default is - `#000` (black) for Linux and Windows, `#FFF` for Mac (or clear if - transparent). + `#FFF` (white). * `hasShadow` Boolean - Whether window should have a shadow. This is only implemented on OS X. Default is `true`. * `darkTheme` Boolean - Forces using dark theme for the window, only works on