You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sections/system/app-sys-information.html
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,14 @@ <h5>Renderer Process</h5>
98
98
<p>See the full <ahref="http://electron.atom.io/docs/api/screen">screen documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> for more.</p>
<p>The <code>.size</code> method in the example returns the raw dimensions of the screen but because of system menu bars this may not be the actual space available for your app.</p>
106
+
107
+
<p>To get the dimensions of the available screen space use the <code>.workAreaSize</code> method. Using <code>.workArea</code> will return the coordinates as well as the dimensions of the available screen space.</p>
0 commit comments