File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ All of the window subfields can be overwritten by using [`new-win-policy` event]
198
198
### width
199
199
### height
200
200
201
- * ` {Integer} ` the initial width/height of the main window.
201
+ * ` {Integer} ` the initial inner width/height of the main window.
202
202
203
203
### toolbar
204
204
@@ -218,12 +218,12 @@ All of the window subfields can be overwritten by using [`new-win-policy` event]
218
218
### min_width
219
219
### min_height
220
220
221
- * ` {Integer} ` minimum width/height of window
221
+ * ` {Integer} ` minimum inner width/height of window
222
222
223
223
### max_width
224
224
### max_height
225
225
226
- * ` {Integer} ` maximum width/height of window
226
+ * ` {Integer} ` maximum inner width/height of window
227
227
228
228
### as_desktop (Linux)
229
229
Original file line number Diff line number Diff line change @@ -91,12 +91,12 @@ Get the corresponding DOM window object of the native window.
91
91
## win.x
92
92
## win.y
93
93
94
- Get or set left/top offset from window to screen.
94
+ Get or set left/top offset from window frame to screen.
95
95
96
96
## win.width
97
97
## win.height
98
98
99
- Get or set window's size.
99
+ Get or set window's size, including the window's frame .
100
100
101
101
## win.title
102
102
@@ -150,8 +150,8 @@ Moves a window a specified number of pixels relative to its current coordinates.
150
150
151
151
## win.resizeTo(width, height)
152
152
153
- * ` width ` ` {Integer} ` the width of the window
154
- * ` height ` ` {Integer} ` the height of the window
153
+ * ` width ` ` {Integer} ` the inner width of the window
154
+ * ` height ` ` {Integer} ` the inner height of the window
155
155
156
156
Resizes a window to the specified ` width ` and ` height ` .
157
157
You can’t perform that action at this time.
0 commit comments