Setting width of Office add-in task pane

白昼怎懂夜的黑 提交于 2019-12-13 17:16:25

问题


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.


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/39275517/setting-width-of-office-add-in-task-pane

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!