Is there a way to make a gallery in the Ribbon resize as the office ribbon does. Specifically, I'd like the Gallery to consume as much space as it can up to a maximum number of items displayed (say 8), then shrink smoothly to a minimum size of 3 items shown before being collapsed.
To put it another way, I would like the shrink process to be:
Am I missing something obvious here?
It already does this by default so I'm not sure what problem you are having. Note, if you have defined any GroupVariants for any of the RibbonGroups in the containing tab item then you must define the resize action for all the groups. When defining the group variants (to override the default resize behavior and provide the resize order and actions) you would include one whose ResizeAction is ReduceGalleryPreviewItems. In either case, the (Min|Max)PreviewColumns are used to define the range of columns that the gallery preview can use. If you still get a problem can you post a small sample that shows the issue you're seeing?
Thanks for that. You are correct, my ResizeActions were configured incorrectly.