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

2 posts, 0 answers
  1. Rob
    Rob avatar
    238 posts
    Member since:
    Jan 2009

    Posted 19 Oct 2012 Link to this post


    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?

  2. Miro Miroslavov
    Miro Miroslavov avatar
    588 posts

    Posted 24 Oct 2012 Link to this post

    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.

Back to Top