简体   繁体   English

Outlook 加载项对话框在 Windows 桌面客户端中太小

[英]Outlook Add-In dialog box is too small in Windows desktop client

I am currently creating a contextual Add-In for Outlook which opens an additional dialog box when the link is clicked.我目前正在为 Outlook 创建一个上下文加载项,单击链接时会打开一个附加对话框。

On the Web client, the dialog box correctly opens to 80% size of the browser window.在 Web 客户端上,对话框正确打开到浏览器window 大小的 80%。

However, on the desktop client, the dialog box opens to 80% of the size of the Add-In pane window - ie.但是,在桌面客户端上,对话框打开到加载项窗格 window 大小的 80% - 即。 much smaller.小多了。

The dialog box size is set by percentage of display width and height in the following line of code:在以下代码行中,对话框大小由显示宽度和高度的百分比设置:

Office.context.ui.displayDialogAsync('https://myWebPage.html', { height: 80, width: 80, displayInIframe: true });

How can I get the size of the dialog box to be relative to the size of the Outlook window rather than the Add-In window on desktop client?如何使对话框的大小与桌面客户端上的 Outlook window 而不是插件 window 的大小相关?

Currently this functionality is not part of the product.目前,此功能不是产品的一部分。 We track Outlook add-in feature requests on our user-voice page .我们在用户语音页面上跟踪 Outlook 加载项功能请求。 Please add your request there.请在此处添加您的请求。 Feature requests on user-voice are considered when we go through our planning process.当我们通过我们的规划过程 go 时,会考虑用户语音的功能请求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM