gogo
gogo

Reputation: 123

Setting width of Office add-in task pane

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

Answers (2)

Oleg O - MSFT
Oleg O - MSFT

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

Fei Xue
Fei Xue

Reputation: 14649

The task pane add-in doesn't support to set the width for the panel. You can submit the feedback here if you want the task pane add-in to support this feature.

Upvotes: 2

Related Questions