AddIn Group Buttons Issue

Add-in Express™ Support Service
That's what is more important than anything else

AddIn Group Buttons Issue
UI issue ADXRibbonGroup when resize Outlook 
Sergey Chizh




Posts: 73
Joined: 2012-10-23
Hello!

Let me introduce issue related to Outlook AddIn COM object in case when we use ADXRibbonGroup control;

On screen you can see several AddIn buttons on Outlook Ribbon bar:

1. My Ribbon Button
2. My Button 1
3. Save in Docunote 3

Second one contains sub buttons and when resize Outlook to minimum width, this Group button automatically converted in drop down menu;

Problem:

Problem is that on dropdown menu we have some surplus space despite that there is no any control here,
you can see this space in green rectangle on screen:

[img]https://drive.google.com/file/d/13ZTGqYXTr8s2PUsjR3DGHsj-MMG_BVZ6/view?usp=sharing[/img]

And also sample project here:
https://drive.google.com/file/d/1MaaktYFJA9PgYSfOQ34kMCBVLCb2BB0O/view?usp=sharing

Is it possible to remove this space somehow ?

Thank you in advanced.
Posted 19 Oct, 2021 05:25:25 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
Hello Sergey,

You can control the only aspect of minimizing a Ribbon group: you can specify the icon that the minimized Ribbon group shows. All other aspects are controlled by Office and the Ribbon API provides no way to influence it.

I've inserted a vbCrLf in the caption of the first button:

Me.SaveToDocunoteExplorerRibbonButton1.Caption = "Save in" + vbCrLf + "DocuNote 1"

This doesn't help.

Setting Size = Large on these buttons produces this:

User added an image

This is all I have.

Regards from Poland (CEST),

Andrei Smolin
Add-in Express Team Leader
Posted 19 Oct, 2021 05:57:36 Top
Sergey Chizh




Posts: 73
Joined: 2012-10-23
Thank you Andrei,

Sorry, I mean space not referred by red arrow, but selected by green rectangle - space after button "Save in DocuNote 2"

So, as I understand I can use same approach here: add break character to caption "Save in DocuNote 1"

Thank you
Posted 19 Oct, 2021 06:25:15 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
Sergey Chizh writes:
selected by green rectangle


That's the exact space that I was checking. It doesn't go away if I insert a vbCrLf in the caption of the first button in that group.

Regards from Poland (CEST),

Andrei Smolin
Add-in Express Team Leader
Posted 19 Oct, 2021 06:30:57 Top