Hi,
I have somekind of weird behaviour in my main form. I have an UltraToolbarsManager/Ribbon attached to the form. When I add the main icon to the form (Form.Icon = ....) the form takes the wrong size out of the icon file (see picture). This happens not only in the Visual Studio designer but also in the running app.
It's even more weird because if I add the exact same icon to another form in an example project also with attached UltraToolbarsManager it doesn't happen.
I compared both projects but couldn't find the correct difference.
So, my question is, what influences the choice of the icon size taken from an icon file??
Regards
Michael
Hello Michael,
The issue you are encountering sounds quite a lot like an issue I recently fixed for versions 2014.2 and 2015.1. If you are not already on the latest SR, I recommend downloading and installing the latest SR for your version from the website, and see if the problem persists:
https://ko.infragistics.com/my-account/keys-and-downloads
The original bug dealt with the UltraToolbarsManager using the ImageSizeSmall when determining the icon size. Now it should using SystemInformation.SmallIconSize. The difference between your sample application and your real application, might be whether or not the ImageSizeSmall has been changed.
Let me know if you require any further assistance. Thanks,
Chris
Hi Chris,
Thanks for your reply. I checked the SmallIconSize in my real and example projects. But they are the same!
I will now update to the newest SR and see if it still exists. Let you know.