I have set the PreferredToolSize on my ribbon groups and on each individual tool to Large and the CanCollapse property on my ribbon groups to False. When my ribbon first displays, everything is correct. However, once I add another contextual tab group, the tool sizes all change and I have a bunch of small tools in my groups. What is causing the tool sizes to change? Is there something I can do to keep them all large?
Mike, I have submitted this issue to your support group (WTB6065), but I am getting nowhere with it. Support will not do anything with it unless I can duplicate the behavior in a small project. I would be happy to send them my entire project, but it has hundreds of thousands of lines of code. I have sent them a video of the behavior, but they say it is an intermittent problem, which is not true. It can be duplicated every time. The first time a contextual tab group is shown, everything is fine. I then close that form and remove the contextual tab group from the ribbon. After that time, all subsequent contextual tab groups that are shown have small icons. I was hoping you could just look at the video that is attached to the support call and see if you can point me in the right direction. I tried to attach it here, but it is bigger than the maximum allowed size. I don't know what else to do at this point.
It sounds like a bug then. I would recommend submitting it to the support group: http://ko.infragistics.com/gethelp.
I forgot to mention that I am setting the MinimumSizeOnRibbon property to large as well. The tools display properly initially. After the ribbon is changed, the tools lose their sizes.
Try setting the MinimumSizeOnRibbon for the tools instead of the PreferredSizeOnRibbon. This will force the tools to always display Large.