Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions types/office-js-preview/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8614,12 +8614,12 @@ declare namespace Office {
*
* - **Web (Word)**: 330 px
*
* - **Windows**: 51 px
* - **Windows, Mac**: 51 px
*
* If you pass a width beyond the minimum and maximum constraints, the task pane isn't resized and no error is shown.
*
* @param width The width of a task pane in pixels. The minimum and maximum constraints vary by platform. In Excel on the web, the width must be between
* 350 and 500 px (inclusive). In Word on the web, the width must be between 330 and 500 px (inclusive). In Office on Windows, the width
* 350 and 500 px (inclusive). In Word on the web, the width must be between 330 and 500 px (inclusive). In Office on Windows and on Mac, the width
* must be between 51 px and 50% of the client window.
*/
setWidth(width: number): void;
Expand Down
4 changes: 2 additions & 2 deletions types/office-js/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8604,12 +8604,12 @@ declare namespace Office {
*
* - **Web (Word)**: 330 px
*
* - **Windows**: 51 px
* - **Windows, Mac**: 51 px
*
* If you pass a width beyond the minimum and maximum constraints, the task pane isn't resized and no error is shown.
*
* @param width The width of a task pane in pixels. The minimum and maximum constraints vary by platform. In Excel on the web, the width must be between
* 350 and 500 px (inclusive). In Word on the web, the width must be between 330 and 500 px (inclusive). In Office on Windows, the width
* 350 and 500 px (inclusive). In Word on the web, the width must be between 330 and 500 px (inclusive). In Office on Windows and on Mac, the width
* must be between 51 px and 50% of the client window.
*/
setWidth(width: number): void;
Expand Down