Disable auto resize of custom button groups in the Ribbon

1.7k views Asked by At

We have an office addin which adds groups of buttons in the Ribbon. Recently I upgraded from office 2007 to 2013 and the addin seemed to work all well. The only thing i noticed is a bit of a behaviour change in the buttons at small screen resolutions.

In 2007, no matter how small the window was, the custom button groups I add to the window don't resize/collapse into one button. However in 2013 these same groups seem to eventually collapse into one drop down button.

Is there any way to force it to remain it's full size in 2013 as it does in 2007?

1

There are 1 answers

2
Eugene Astafiev On

Starting from Office 2010 you may enable auto-scaling by setting the autoScale attribute of the tag to True as follows.

autoScale="true"

Note, auto-scaling is set on a per-group basis.

See Ribbon Extensibility in Office 2010: Tab Activation and Auto-Scaling for more information.