PDA

View Full Version : [SOLVED:] Hide "Superscript" button label in Ribbon



juanbolas
01-12-2022, 08:10 AM
Hello,

I'm trying to only show the Superscript button on the Ribbon, but the label is displayed as well. I tried adding label = " " to no avail.

The entry in the ribbon code is


<toggleButton idMso="Superscript" visible="true"/>

Thanks in advance for your help!

John Wilson
01-12-2022, 09:12 AM
Where are you finding the Superscript toggle button in the ribbon?
If you are ADDING it to the ribbon the XML is

<control idMso="Superscript" showLabel="false" />

juanbolas
01-12-2022, 09:34 AM
I placed the button in a group (using the code snippet using Office RibbonX editor. I found the ID looking at the commands available through the customize ribbon option in Powerpoint.

John Wilson
01-12-2022, 09:51 AM
Assuming you set up a 2010 custonpart

The code I used was

29300

29301

juanbolas
01-12-2022, 11:23 AM
Tweaked it a bit based on your code and it worked. I omitted the imageMso.
It's odd that this is happening since what I read in other posts is that with <button idMSO="Superscript" visible="true"> it should be enough to work.

Thanks a million John!