I would like to create a ribbon button in Microsoft Office that reproduces the behavior e.g. of the "Text Fill" button. It is split in two areas where the left (red) will execute the default/last action and the right (blue) offers additional functions.
The closest I got was using a splitButton
with a button
and a menu
. But here a get a large button with text for the default action and only a small area with a triangle for accessing the drop-down menu. Here are the ribbon code and the resulting button:
<splitButton id="SplitButton1" size="normal" >
<button id="MenuButton1" imageMso="TextFillColorPicker" label="Text Fill" />
<menu id="Menu1" label="Label1" itemSize="normal" showLabel="true">
<button id="MenuButton2" label="Label2" />
</menu>
</splitButton>
For usability reasons I would like to keep the (visual) focus on the drop-down part exactly as shown in the image. Any ideas how to do it?