Skip to content

Commit

Permalink
docs: add macOS height option info (#34451)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaurencin committed Jun 9, 2022
1 parent 1302ebf commit 52c0a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/window-customization.md
Expand Up @@ -115,7 +115,7 @@ const win = new BrowserWindow({
})
```

On Windows, you can also specify additional parameters. The color of the overlay and its symbols can be specified by setting `titleBarOverlay` to an object and using the `color` and `symbolColor` properties respectively. The height of the overlay can also be specified with the `height` property.
On either platform `titleBarOverlay` can also be an object. On both macOS and Windows, the height of the overlay can be specified with the `height` property. On Windows, the color of the overlay and its symbols can be specified using the `color` and `symbolColor` properties respectively.

If a color option is not specified, the color will default to its system color for the window control buttons. Similarly, if the height option is not specified it will default to the default height:

Expand Down

0 comments on commit 52c0a4f

Please sign in to comment.