#1
|
|||
|
|||
Problem with RibbonX showLabel=false
Hi to all RibbonX Experts, I'd like to add the "Document Property" button to a user-defined ribbon. I do not want the label ("Document Property") to be displayed, only the button. As the 'Document Properties' are accessible via build-in Controls, I added the lines: Code:
<gallery idMso="PropertyInsert" showLabel="false"/> The only way I found to suppress the label is to set it to a single space Code:
<gallery idMso="PropertyInsert" label=" "/> I tried adding "screentip" and "supertip", but nothing changes: an empty rectangle appears when hovering over the icon. I 'simply' want the icon to be displayed without label but with additional information on hovering. 'showLabel' does not seems to work correctly with "gallery idMso": with "gallery idMso="BreaksGallery" I also failed with "showLabel="false"", but succeeded with label=" ", the BreaksGallery icon is displayed without text but with additional info. So I simply can't find a reliable approach. What's wrong with my approach? Any help appreciated. Thanks NP |
#2
|
|||
|
|||
I am not a RibbonX expert but only a dabbler. The person who answers questions about the Ribbon the most is Greg Maxey. He does respond to questions here and may see yours. In the meantime, here is a link to his lead page on Ribbon modification:
Customize the Ribbon (It doesn't take rocket science) The book that I use is RibbonX: Customizing the Office 2007 Ribbon - by Robert Martin, Ken Puls, and Theresa Hennig and that is where I would be looking for an answer. I am assuming that you are working directly with the XML and not using the ribbon modification in the Word user interface for your work. |
#3
|
||||
|
||||
Apparently you need to display the button in normal size to hide the label.
<gallery idMso="PropertyInsert" size="normal" showLabel="false"/> The book that Charles pointed you at discusses this particular idiosyncrasy and suggests the very same workaround that you arrived at anyway. |
#4
|
|||
|
|||
Thanks for your answers.
Quote:
Quote:
NP |
#5
|
|||
|
|||
Suggestion:
Modify it through the UI and examine the XML in the customization file that is produced. Use that in your custom template. That is how I would dabble my way through this. |
#6
|
|||
|
|||
Hi Charles,
that's exactly what I did first. But some Word gallery controls behave differently in UI and own XLM file - strange ... NP |
#7
|
||||
|
||||
I tried exporting through the UI and got to see the showInRibbon=false setting.
Initially I think I saw the gallery with no title but later it appeared with the title so I am wondering what I saw now. I am wondering if this has been fixed in the subsequent versions of Word. Have you tried the schemas for each of 2007/2010/2013?
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#8
|
|||
|
|||
Hi,
Quote:
Code:
<mso:gallery idQ="mso:BreaksGallery" label=" " showInRibbon="false" visible="true"/> <mso:gallery idQ="mso:SymbolInsertGallery" label=" " showInRibbon="false" visible="true"/> <gallery idMso="BreaksGallery" showLabel="false"/> and <gallery idMso="SymbolInsertGallery" showLabel="false"/> still display the label (as I almost expected). <gallery idMso="BreaksGallery" label=" "/> and <gallery idMso="SymbolInsertGallery" label=" "/> both supress the label, but still display text when hovering over the icons - other than gallery idMso="PropertyInsert". So I can’t see any scheme to follow … Quote:
NP Last edited by NobodysPerfect; 01-31-2015 at 04:13 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Where is false color effect in 2011 Mac version of PowerPoint? | mbrown662 | PowerPoint | 0 | 09-01-2014 03:37 PM |
Embedded SWF - 'Playing' is false after run | Cosmo | PowerPoint | 14 | 11-03-2013 01:21 AM |
False fonts in word | peterv | Word | 5 | 07-19-2012 02:11 AM |
Ribbon button - showLabel attribute ignored | yiannis.spyridakis | Excel Programming | 2 | 06-12-2012 11:21 PM |
MSWord false pattern or background????? | controlengineer | Drawing and Graphics | 3 | 04-02-2011 06:14 AM |