This is a migrated thread and some comments may be shown as answers.

RadCollapsiblePanel - Possible to use two control rows instead of three?

1 Answer 59 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 19 Oct 2012, 08:05 PM
Hello,

Please see the attached image.  I am attempting to organize my ribbon controls as pictured.  When the RibbonGroup is in it's "medium" size, I would like to arrange the buttons in a TWO row grid.  If I happened to have 5 buttons, for example, there would be 1 row of 3 buttons, and 1 row of two buttons.

From what I can read in the documentation, the RadCollapsiblePanel wants to arrange the items in THREE rows.  Is this possible?  I was hoping to find some properties like "ChildrenFlow" and "Rows" which belong to the RadUniformGrid...  Or is there a "RadRibbonUniformGrid" control, or somethig similar?

Thanks,
Rob

1 Answer, 1 is accepted

Sort by
0
Miro Miroslavov
Telerik team
answered on 24 Oct 2012, 12:34 PM
Hi Rob,

 The RadCollapsiblePanel will try to fit as many as possible items on Height direction and if the buttons are in Medium state, their Height is just enough for the CollapsiblePanel to fit 3 of them. So in order to fit just two buttons, you'll have to make them bigger, which I'm not sure if it is ok for you. You can also accomplish this by changing the default Style of the RadRibbonButton, find the "textRow1" element in the style and modify its size or Margins for example. (the Margin might be better solution for you since, it's not going to make the button bigger.)

Please let us know if this is working for you.

Kind regards,
Miro Miroslavov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
RibbonView and RibbonWindow
Asked by
Rob
Top achievements
Rank 1
Answers by
Miro Miroslavov
Telerik team
Share this question
or