I am running into a situation in a ribbon group where the caption is not displaying at all. If I maximize the form and allow the ribbon to be bigger, the caption appears immediately. I have tried setting the TextTrimming property on the RibbonGroup to EllipsisCharacter, but that had no effect. What property should I be setting to get something to appear? See below:
The captions that are missing should be "Boxing" and "Adjust Job Quantity" respectively.
I tried to create a sample using the layout file you provided. However, I’m unable to do so as I’m getting an xml parse exception when using the “layout.xml” file. To fix this issue please try the below:
-Load the layout file (LoadFromXML) into a new application with just UltraToolbarManager on the form and see if that works. If it does, then zip the application and share it here.
I will further look into this issue as soon as I hear from you.
Can't you do that on your end? Are you saying there's something wrong with the file I sent to you?
The file would not load for me either. I have created a new binary file, zipped it up, and attached it here. I tested loading it into a toolbarsmanager on a new form and it loaded properly.0876.layout.zip
I was able to load the layout file that you have sent us into my sample application. However, I was not able to observe the mentioned Ribbon tools caption missing issue using it.
I have attached the sample project I used to test this. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.
If the project does not work correctly, then the change in behavior is due to differences in your environment from mine and these differences can be anything from operating system version to the specific version of the Infragistics DLL versions used. My test was performed using version Infragistics for WindowsForms 17.2.1000 and 18.1.1000. Please provide more details about your machine and version of the assemblies that you are referencing so that I can modify the environment that I am testing in to match yours.
Please test the sample project and let me know the results.RibbonGrpToolCaption.zip
I modified your sample project and zipped it up, but was unable to upload it to you (file too big maybe?). You will need to make all of the tabs in the ribbon visible. I also upgraded to Infragistics 18.1.
After making the above changes, run the project, go to the SYSTEM tab in the ribbon. Notice that the captions in the REPORTS group do not appear until the form is resized large enough to fit the entire caption.
Please delete the bin and object folders from your sample application to reduce its size and zip it and send it to us. If you are still having issues sending the zip file to us then let me know. I will create a private case for you and will provide the public file sharing location via the case.
I believe SYSTEM, REPORTS are tabs in your sample application. I will implement the steps you suggested in these tabs to reproduce this issue as soon as I receive the sample.
Looking forward to hearing from you.
Sincerely,Sahaja KokkalagaddaAssociate Software Developer
Here it is4062.RibbonGrpToolCaption.zip
Thanks for sharing the sample. Using it, I have investigated Caption missing on items in Ribbon group issue, and I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 257325. This will be assigned to a developer in a future sprint to review my investigation and confirm my findings or to offer a fix, or other resolution.
I will update you with any new information after the review.
Please let me know if you have any questions.
Our developer finished reviewing Caption missing on items in Ribbon group issue. The size of the ribbon affects how tools are displayed. Tools on a ribbon have 3 possible sizes: Large, Normal, and ImageOnly. As the space available on the ribbon diminishes, the tools are systematically resized, going from Large -> Normal -> ImageOnly based on their current size. In this scenario, the ribbon is small enough that the tools within the Reports group have been resized down to ImageOnly. On the InstanceProps of each tools, there is a MinimumSizeOnRibbon property that provides the ability to specify what the smallest size mode the tool can be collapsed to. This same property can be set in the designer by right-clicking the tool, and setting the MinimumSize property in the context menu. In this case if you want to always display the tool captions, then you would have to set the MinimumSizeOnRibbon to Normal for all the tools on the ribbon. If you only set it on the tools in the Reports group, these tools will display captions, but other tools within the tabs will then be resized due to the available space.