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
275
ultraToolbarsManager Width
posted

Hello

I am using the ultraToolbarsManager control.

Couldn’t found a way to dictate the control width – at the end of the day I would like it to fit his width according to the visible child controls – rather than having an empty ribbon space.

In other words: I need to find a way to calculate the ribbon with by his visible child controls.

Sincerely

Yaniv L

 

  • 71886
    Offline posted

    Hello Yaniv,

    Actually the width of the ribbon (or the width of the toolbarsManager) is calculated based on the width of it's container. If you want to change its width you could change the DockWithinContainer.Width like in the following code sample:

    ultraToolbarsManager1.DockWithinContainer.Width = 500;

    However, using this line of code your entire form will resize.

    Please do not hesitate to contact us if you need any additional assistance.