Alfree92
Alfree92

Reputation: 55

Can I increase the default size of the task pane for a ms-word add-in?

I've been working on an add-in for Microsoft word for a little while and the way the app is designed the content is a little squished when the add-in first launches. I've tried digging through the MS documentation and the only thing I've found was in the manifest documentation but the requestedwidth does not work for taskpane apps, I tried it anyway and sure enough it didn't work. I also tried just increasing the width of the html elements in my app but that didn't increase the size of the task pane just allowed me to scroll within the task pane. Any help would be appreciated.

Upvotes: 2

Views: 1017

Answers (3)

lgaud
lgaud

Reputation: 2479

If some aspects of your app require different amounts of space, the Dialog API is an option.

Upvotes: 0

user7722397
user7722397

Reputation:

There's no way to change the default width of the task pane.

Upvotes: 1

Juan Balmori
Juan Balmori

Reputation: 5046

Unfortunately there is no way to do this programmatically. Please vote or add item to our user voice channel https://officespdev.uservoice.com/forums/224641-feature-requests-and-feedback/category/163566-add-in-word

Upvotes: 1

Related Questions