enablePreferredSizeMode
Whether to enable preferred size mode. The preferred size is the minimum size needed to contain the layout of the document—without requiring scrolling. Enabling this will cause the preferred-size-changed
event to be emitted on the WebContents
when the preferred size changes. Default is false
.