Skip to content

Commit 9ea8972

Browse files
committed
[docs] clarify the inner vs outter dimension in various places
1 parent f7ec388 commit 9ea8972

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/References/Manifest Format.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ All of the window subfields can be overwritten by using [`new-win-policy` event]
198198
### width
199199
### height
200200

201-
* `{Integer}` the initial width/height of the main window.
201+
* `{Integer}` the initial inner width/height of the main window.
202202

203203
### toolbar
204204

@@ -218,12 +218,12 @@ All of the window subfields can be overwritten by using [`new-win-policy` event]
218218
### min_width
219219
### min_height
220220

221-
* `{Integer}` minimum width/height of window
221+
* `{Integer}` minimum inner width/height of window
222222

223223
### max_width
224224
### max_height
225225

226-
* `{Integer}` maximum width/height of window
226+
* `{Integer}` maximum inner width/height of window
227227

228228
### as_desktop (Linux)
229229

docs/References/Window.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ Get the corresponding DOM window object of the native window.
9191
## win.x
9292
## win.y
9393

94-
Get or set left/top offset from window to screen.
94+
Get or set left/top offset from window frame to screen.
9595

9696
## win.width
9797
## win.height
9898

99-
Get or set window's size.
99+
Get or set window's size, including the window's frame.
100100

101101
## win.title
102102

@@ -150,8 +150,8 @@ Moves a window a specified number of pixels relative to its current coordinates.
150150

151151
## win.resizeTo(width, height)
152152

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
155155

156156
Resizes a window to the specified `width` and `height`.
157157

0 commit comments

Comments
 (0)