Hello,
I am using 12.2 of Infragistics WPF and am having a problem with the icon created in the QAT for a Ribbon group being clipped. It appears to be due to the fact that the PART_RibbonGroupButton (DropDownToolToggle) created by your code has None set for the Stretch property of the image used. In XAML, I simply set the SmallImage property of the RibbonGroup to the Image Source. However, when this image is rendered in the QAT is is being clipped. The other icons in the QAT for ButtonTools are not clipped because they have their Stretch properties set to Uniform.
How can I prevent the images in the QAT from being clipped when a RibbonGroup is added to the QAT? I'm on a tight schedule so your prompt help would be appreciated. I have attached a picture showing the issue.
Thanks
I am just checking if you have been able to download the latest Service Release and tested it on your side.
Please let us know if you require any further assistance on the matter.
This issue was recently reported and should be fixed in the latest service release.
Looks like I was able to figure this out on my own. I looked for the template for the Part and found it in the generic file. It is using Style for igRibbon:DropDownToggle with Key x:Static igRibbon:RibbonGroup.QuickAccessToolbarGroupButtonStyleKey
That Style defined in the generic templates has a setter for the Template that creates the igWindows:AutoDisabledImage with the default Streth of None. I copied the Style in the XamRibbon.Resources and set the Stretch to Uniform to fix the problem.
There may have been an easier way to set this property without having to copy the entire Style with the template setter but I'm just starting with WPF and don't know all the tricks.