Change title bar's background colour in Outlook web-addin - outlook

I would like to change the title bar's background colour. I see in the xml file which produces the title. What is the way to hook into the title bar to change the background colour? I see a similar questions for C# [Is there any way to change border/header background in VSTO outlook add in?][1]
[1]: Is there any way to change border/header background in VSTO outlook add in? Is there something similar we can do here with the webaddin?

Currently changing the background color of the title bar is not a part of the product. We track Outlook add-in feature requests on our user-voice page. Please add your request there. Feature requests on user-voice are considered, when we go through our planning process

Related

VSTO Outlook: Change border and header background color of custom task pane

I have an VSTO Outlook Add-in. I have put a custom task pane at the top. This custom task pane contains an WPF user control.Now I am trying to change the background color of the header (title bar) and borders of the custom task pane (I am not referring to the background of the WPF user control). Is it possible? If so how?
No, it is not. The Office extensibility model doesn't provide anything for that out of the box. You may try using the Windows API functions for that, at lease you can inject your own form. Such forms MS calls Adjucent Outlook windows. Note, you need to have a deep understanding of Windows API to move that way, see SetWindowsHookEx.
Also you may take a look at Add-in Express based form regions and views, see How to add a custom header to your Outlook form or task pane: C# and VB.NET for more information.

How to show Office addin taskpane icon default in message surface?

Latest office add-in icons showing in the the overflow menu in the outlook explorer view. But I want to show this in default without setting any mail settings. ( check the attach image, I want show task bar button shows in the message surface area )
Do I need to add any changes in manifest file ?
We currently do not support pinning on an email surface from the Manifest. It can only be done through the settings option inside of Outlook Web app and is specific to the client. Add-ins are also pinned on the email surface by default when installing from the marketplace from Outlook Web App (unless the user specifically unpins it)
Currently the feature you requested, is not a part of the product. We track Outlook add-in feature requests on our user-voice page. Please add your request there. Feature requests on user-voice are considered, when we go through our planning process.
https://officespdev.uservoice.com/forums/224641-general/category/131778-outlook-add-ins

Outlook Web-add in - Change color of the title bar

I am trying to change the color of the title bar in my addin.
I see in the xml file which produces the title on the title bar. What is the correct way to hook into the title bar?
I see something similar question for C#
Is there any way to change border/header background in VSTO outlook add in?
in-vsto-outlook-add-in
Please see attach photo to the area I want to change the background color for.
Currently this capability (changing the color of the title bar) is not available for add-ins. We track Outlook add-in feature requests on our user-voice page. Please add your request there. Feature requests on user-voice are considered, when we go through our planning process.
https://officespdev.uservoice.com/forums/224641-general/category/131778-outlook-add-ins

Office.js add-in display dialog dynamic size

I am making an add-in for outlook with dialogues using the displayDialogAsync method.
The problem is that if the main window has a small size the dialog will also be small, because the width and height is a percentage of the main window, and the content will not fit.
Is it possible to know the size of the main window, so I can use that to calculate how big the dialog should be?
I have tried with $(window).height() and $(window).width() but that returns the height and width of the box the add-in buttons are located in.
The display dialog only supports percentages, and the feature you requested is currently not part of the product. We track Outlook add-in feature requests on our user-voice page.
It looks like the feature you want has been requested by others already. Please upvote the existing request. Feature requests on user-voice are considered when we go through our planning process.

Outlook Add-in iframe dialog - only content resizes

I am developing Outlook add-in and displaying a dialog with option displayInIframe: true and height and width parameters given. However I have experienced a problem using add-in in outlook.com via browser. Although it works good when screen has a standard proportion (width>height), it looks bad when I resize the window and make it narrow (height>width). Then, the content is resized and pushed to the side of the frame while the iframe itself stays with the same size.
The question is if I can do something with that or its a Outlook issue. If so, I would like to notify MSFT about it.
This is expected behavior of a web application, you cant do much except setting the min-width for your html page so that it does not look that bad.
you can do some css changes to make the page look better for height/width in question.

Resources