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
1105
Setting the Default Height of a ToolBar
posted

Hi,

 we have following scenario. Each MDI child has it own toolbuttons which are set to a main Toolbar docked to the parent form. when a MDI Child is closed or another MDI child is selected then the toolbar items are deleted and new ones are dynamically added. This works fine.

The problem I have is when the last toolbutton is deleted the toolbar shrinks its height to a default height and is resized when the first toolbutton is added. This is makes the UI "flicker". How can I set the toolbar default height?

 

Thanx

Stefan 

  • 44743
    posted

    This seems like a bug. When a new merge operation occurs, the updating of the UI should be temporarily suspended, so you shouldn't see a flicker. I would recommend submitting the issue to the support group: http://es.infragistics.com/gethelp.

    As a workaround, you could add a ControlContainerTool as the first tool in the toolbar. Add a .NET Label control to your Form and set that as the contained control of the tool. Clear the text from the Label and set it's font size to a large value, like 20. That will impose a minimum height on the toolbar.