I'm not entirely sure if this is due to an Infragistics upgrade, or if I changed something on my end somewhere, but some icons in UltraGrid no longer show the way they used to.
Before:
After:
Notice how:
Is this a deliberate change to make them hi-dpi friendly? It looks slightly wrong, like I'm missing a font or something.
Hello,
I have been looking into your question and created a small sample in order to reproduce the described behavior. I tested it under several versions and I determined that the icons are changed in version 19.1. According to our documentation, several controls have been updated to support high-dpi scaling in version 19.1. So the reason for the appearance of the icons as you mentioned is exactly the high-dpi scaling and on your side, the appearance is changed due to the upgrade.
Let me know if I may be of any further assistance.
Sincerely,
Teodosia Hristodorova
Associate Software Developer
Thanks for looking into it.
Is there a way to make them… a bit larger or bolder?
Thanks,
Sören Kuklau
I have been looking into your question and discussed it with our engineers. Another reason for the changed appearance in addition to supporting High DPI, is to make all the icons the same size by default since previously, they were all different sizes. What I can suggest you is to apply images for the grouping and summaries icons.
There are exposed properties of the UltraGrid like SummaryButtonImage, FilterDropDownButtonImage, SortIndicatorAscendingImage, etc. that could be used in order to change the default icons. For example:
private void Form1_Load(object sender, EventArgs e) { this.ultraGrid1.DisplayLayout.SortIndicatorAscendingImage = Image.FromFile("<path to the desired group by icon>"); this.ultraGrid1.DisplayLayout.SummaryButtonImage = Image.FromFile(@"<path to the desired sum icon>"); }
I have attached a sample application, that uses this approach. Please test it on your side and let me know if I may be of any further assistance.
4010.UltraGrid_icons.zip