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

Button resizing issue

3 Answers 108 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Kun
Top achievements
Rank 2
Kun asked on 14 May 2019, 02:27 PM

Hello,

Please my attached screenshot.

When I reduce the width of my ribbonform, the captions of the buttons in the ribbongroup will be collapsed at first, and then the buttons will be replaced by a dropdown button for the group. The button without caption looks weird, specially for the button "image before text".

How can I make the button to be full collapsed or full displayed ?

I've tried CollapsePriority in ribbonbargroup, it doesn't work as I would like.

 

Thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 15 May 2019, 08:42 AM
Hello Kun,

I have investigated this and there is no easy way to achieve it. You need to create a custom CollapsibleButtonAdapter for the buttons so you can control what happens when the group is collapsed/expanded. I have attached a small sample project that shows how you can implement this. 

Let me know how this works for you.

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Kun
Top achievements
Rank 2
answered on 15 May 2019, 10:45 AM

Hello, Dimitar

Your sample works perfect for my project.

I've seen some other persons mentioned the same subject in the forum. Could you add it as a feature request ?

Thank you

Regards,

0
Dimitar
Telerik team
answered on 15 May 2019, 12:46 PM
Hi Kun,

I am glad that this works for you.

I have logged a feature request for this on our Feedback Portal. You can track its progress, subscribe to status changes and add your comment to it here. I have also updated your Telerik Points.

Do not hesitate to contact us if you have other questions.
 
Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
RibbonBar
Asked by
Kun
Top achievements
Rank 2
Answers by
Dimitar
Telerik team
Kun
Top achievements
Rank 2
Share this question
or