Hi,
Is it possible to set the amount of tool rows displayed in the ribbon, i'd like t odefault it to 2.
Thanks,
Bill
No, it is not possible to set this. However, the default number of rows is 2. 3 rows will only be used if there is not enough width to display 2 rows.
Thanks mike, is there something I could be doing to cause 3 rows to be generated? I have a ribbon with 1 tab, 1 group and the group has 2 buttons, the buttons belong to the same button group. My group shows the 2 buttons grouped on the top row then 2 blank rows. The tab, group and button are all generated in code at runtime. Any idea what is causing the extra rows? I am using NA 2007 V3.
By default, tools align to the top of the ribbon group, then flow downwards. You can change this alignment by setting the LayoutAlignment property on the RibbonGroup. You would probably want to change this to Center.