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
1475
Tool Width in Ribbon On ToolBarsManager
posted

Hi All-

I have an application which is used in an imaging environment where the height of the screen is higher than the width. All the tools Preferred Size is set to Maxmimum. But some of the tools on Ribbon are showing up in a Small Size and Some icons are coming up in three rows so as to fit the screen. Is there anyway that i can adjust these based on the screen size programatically.

Thanks in advance.

  • 44743
    posted

    If you want to control the resizing of tools, you can set their InstanceProps.MinimumSizeOnRibbon and InstanceProps.PreferredSizeOnRibbon properties. In this case, it sounds like you would want to set the MinimumSizeOnRibbon to Normal. That way, the tools will never shrink down to being just an image.