Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-29-2015, 03:58 AM
NobodysPerfect NobodysPerfect is offline Problem with RibbonX showLabel=false Windows 8 Problem with RibbonX showLabel=false Office 2010 32bit
Competent Performer
Problem with RibbonX showLabel=false
 
Join Date: Jan 2014
Location: Germany
Posts: 136
NobodysPerfect is on a distinguished road
Default 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"/>
Result: the icon is display with label -> why? Hovering with the mouse over the button displays the label.

The only way I found to suppress the label is to set it to a single space
Code:
<gallery idMso="PropertyInsert" label=" "/>
Result: the icon is displayed without label (= space), but hovering with the mouse over the button shows (of course) the empty 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
Reply With Quote
  #2  
Old 01-29-2015, 07:52 AM
Charles Kenyon Charles Kenyon is offline Problem with RibbonX showLabel=false Windows 7 64bit Problem with RibbonX showLabel=false Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

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.
Reply With Quote
  #3  
Old 01-29-2015, 04:54 PM
Guessed's Avatar
Guessed Guessed is offline Problem with RibbonX showLabel=false Windows 7 32bit Problem with RibbonX showLabel=false Office 2010 32bit
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

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.
Reply With Quote
  #4  
Old 01-30-2015, 02:55 AM
NobodysPerfect NobodysPerfect is offline Problem with RibbonX showLabel=false Windows 8 Problem with RibbonX showLabel=false Office 2010 32bit
Competent Performer
Problem with RibbonX showLabel=false
 
Join Date: Jan 2014
Location: Germany
Posts: 136
NobodysPerfect is on a distinguished road
Default

Thanks for your answers.

Quote:
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.
That's right and - funny enough - when modifing the ribbon via UI, the icon is displayed without label but with 'hovering text' - exactly the way it should.


Quote:
<gallery idMso="PropertyInsert" size="normal" showLabel="false"/>
Unfortunately size="normal" doesn't make any difference. The label is still displayed. .

NP
Reply With Quote
  #5  
Old 01-30-2015, 07:13 AM
Charles Kenyon Charles Kenyon is offline Problem with RibbonX showLabel=false Windows 7 64bit Problem with RibbonX showLabel=false Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

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.
Reply With Quote
  #6  
Old 01-30-2015, 07:34 AM
NobodysPerfect NobodysPerfect is offline Problem with RibbonX showLabel=false Windows 8 Problem with RibbonX showLabel=false Office 2010 32bit
Competent Performer
Problem with RibbonX showLabel=false
 
Join Date: Jan 2014
Location: Germany
Posts: 136
NobodysPerfect is on a distinguished road
Default

Hi Charles,

that's exactly what I did first. But some Word gallery controls behave differently in UI and own XLM file - strange ...

NP
Reply With Quote
  #7  
Old 01-30-2015, 05:05 PM
Guessed's Avatar
Guessed Guessed is offline Problem with RibbonX showLabel=false Windows 7 32bit Problem with RibbonX showLabel=false Office 2010 32bit
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

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
Reply With Quote
  #8  
Old 01-31-2015, 02:18 PM
NobodysPerfect NobodysPerfect is offline Problem with RibbonX showLabel=false Windows 8 Problem with RibbonX showLabel=false Office 2010 32bit
Competent Performer
Problem with RibbonX showLabel=false
 
Join Date: Jan 2014
Location: Germany
Posts: 136
NobodysPerfect is on a distinguished road
Default

Hi,

Quote:
I tried exporting through the UI and got to see the showInRibbon=false setting.
Right, so I tried with exported
Code:
<mso:gallery idQ="mso:BreaksGallery" label=" " showInRibbon="false" visible="true"/>
<mso:gallery idQ="mso:SymbolInsertGallery" label=" " showInRibbon="false" visible="true"/>
Result:
<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:
Have you tried the schemas for each of 2007/2010/2013?
No, just 2010.

NP

Last edited by NobodysPerfect; 01-31-2015 at 04:13 PM.
Reply With Quote
Reply



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
Problem with RibbonX showLabel=false Embedded SWF - 'Playing' is false after run Cosmo PowerPoint 14 11-03-2013 01:21 AM
Problem with RibbonX showLabel=false 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
Problem with RibbonX showLabel=false MSWord false pattern or background????? controlengineer Drawing and Graphics 3 04-02-2011 06:14 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft