Vladi Gubler
Vladi Gubler

Reputation: 2458

Change custom Office ribbon size on window resize

In our Office add-in we need the ribbon buttons to behave the same way as regular Office ribbon buttons do when you resize the form: as the form becomes smaller, some images also become smaller, then disappear altogether. I have no idea how to do the same for our custom ribbon group, the buttons always stay the same. Please note, this is Office UI ribbon, not WPF ribbon, which is much more customizable

Thanks!

Upvotes: 2

Views: 1320

Answers (2)

jreichert
jreichert

Reputation: 1566

OK, but is "autoScale" also possible when customizing the ribbon within a VSTO project and the ribbon designer in Visual Studio?

Upvotes: 0

Vladi Gubler
Vladi Gubler

Reputation: 2458

It turns out this is not supported under Office 2007. In Office 2010 you can set scaling per group by adding the following XML attribute: autoScale="true"

Upvotes: 2

Related Questions