Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1350
UltraToolbarsManager - Form title icon
posted

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

Parents
No Data
Reply
  • 6158
    Suggested Answer
    Offline posted

    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

Children