zzandy
zzandy

Reputation: 2353

How to automatically resize ribbon controls in VSTO?

In Office 2007 boxes on the ribbon change their size when window size changes. Here is an example, Styles group box on excel Home ribbon.

When window is stretched horizontally, Styles look like this:

Fully expanded ribbon group box http://img109.imageshack.us/img109/9652/excelribbonstyleexpande.png

If we reduce window width a little, Styles will change to this:

Partially shrunk ribbon group box http://img130.imageshack.us/img130/8297/excelribbonstylesemishr.png

If width is reduced even further, we'll see this:

Fully shrunk ribbon group box http://img193.imageshack.us/img193/5743/excelribbonstyleshrunk.png

The question is how to do this with VSTO for custom ribbon?

Upvotes: 2

Views: 2799

Answers (1)

Andy Pope
Andy Pope

Reputation: 141

2007 does not support autoscaling of custom groups. It will be in 2010.

Auto-Scaling of Custom Controls

Upvotes: 1

Related Questions