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
565
Lining up ComboBoxes in ToolbarManager
posted

Hi..

I have put multiple comboboxes within a group within a tab on a ribbon (Office 2007 UI) toolbar.  How do I get the comboboxes lined up left justified?  Since my labels are different sizes, the boxes are not in alignment.

 Thanks!

  • 44743
    posted

    I don't think you can justify the left edges of the combo boxes, but you can align all tools in the group to the right edge. If all the tools are combo boxes and their editors have the same width, they will be aligned. Set the RibbonGroup's LayoutAlignment to Far and the LayoutDirection to Horizontal.