Is there a way to resize a custom Add-In? I am creating a custom add-in for outlook and would like to make the width bigger. Thanks!
Asked
Active
Viewed 488 times
0

Eugene Astafiev
- 47,483
- 3
- 24
- 45

Alexis
- 1
- 1
-
Do you need to resize a task pane? – Eugene Astafiev Feb 11 '22 at 17:49
-
Yes, I need to make the width wider. – Alexis Feb 11 '22 at 17:54
-
Currently we do not support resizing the taskpane's width. We track Outlook add-in feature requests on our Tech Community Page. Please submit your request there and choose the appropriate label(s). Feature requests on Tech Community are considered, when we go through our planning process. Github Label: “Type: product feature request” https://aka.ms/M365dev-suggestions – Outlook Add-ins Team - MSFT Feb 11 '22 at 22:27
1 Answers
0
OfficeJS
doesn't provide anything for resizing a task pane. The resizeTo method of the window
object doesn't work for task panes from web add-ins.
If you need to be able to resize a custom task pane you may consider creating a VSTO based add-in instead.

Eugene Astafiev
- 47,483
- 3
- 24
- 45
-
What is this used for? https://learn.microsoft.com/en-us/office/dev/add-ins/reference/manifest/requestedwidth – Alexis Feb 11 '22 at 18:49
-
That is for the initial width of the content add-in. But not for resizing the pane dynamically. – Eugene Astafiev Feb 11 '22 at 21:45