Nishara MJ
Nishara MJ

Reputation: 539

Customize word ribbon bar in office 365

I have been working to add icon group to word ribbon bar but I can not customize it as I want. For an example when I add 3 buttons, it will appear as horizontal direction. But when I add 4 buttons one icon will appear as usual but other three as small icons for vertical direction. Is there a way to solve this problem?

Upvotes: 1

Views: 202

Answers (1)

Maarten van Stam
Maarten van Stam

Reputation: 1899

As far as I can tell the Manifest specifications do not allow you to set a fixed icon format or option to stop the group from collapsing the icons as you see when you use more than three buttons in your group.

The manifest specifications require you to that each icon must have three Images elements, one for each of the three mandatory sizes:

  • 16x16
  • 32x32
  • 80x80

https://github.com/OfficeDev/office-js-docs/blob/master/reference/manifest/resources.md#images

So without the option in the manifest to block the group from collapsing it is managed by Office and it seems you don't have any say in this (for now). Let the Program Group know you need a fixed size option, they appreciate your feedback.

Adding button specifications:

https://github.com/OfficeDev/office-js-docs/blob/master/reference/manifest/control.md

Upvotes: 1

Related Questions