I'm using the Office Javascript API to develop an add-in which will have a custom ribbon.
I'm planning to use a mix of existing PowerPoint controls and custom ones. I've figured out how to incorporate the existing PowerPoint controls, but I don't know how to layout the controls within a group in a nice way.
- The image on the right (Font) is the default PowerPoint Font group.
- The image on the left (Edit) is the group that I'm creating which will include a mix of custom controls and some PowerPoint ones.
- I want to create a similar layout to the Font group (i.e. be able to control how large the combo box for the font is, and layout the controls exactly how I want to)
In the manifest I've laid them out like this which just populates them in sequence (3 top-bottom in 2 columns).
<OfficeControl id="Font"/>
<OfficeControl id="FontSize"/>
<OfficeControl id="AlignLeft"/>
<OfficeControl id="Italic"/>
<OfficeControl id="Underline"/>
<OfficeControl id="ChangeCaseGallery"/>
<OfficeControl id="FormatPainter"/>
Appreciate some help on how the layout works.