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
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.