Reputation: 123
Is it possible to set the width of a Outlook add-in when it gets loaded up. Right now when I click on my addin button on the ribbon, the task pane shows up on the right with a width of about 437 pixels. I would like to increase that width to something like 820 pixels.
Upvotes: 6
Views: 4387
Reputation: 214
That's right, there is no way to specify the width. Besides, in OWA the pane is not resizable..
As alternative, you can use a "UI-less" button (see functionFile/ExecuteFunction manifest declarations) and call displayDialogAsync API to display a dialog with custom HTML content, and you can specify the size of this dialog when you create it.
Upvotes: 3