Stop ribbon from resizing inheight

We are adding and removing items from the ribbon dynamically

somtimes this causes the ribbon to change height. We would like to be able to stop it from changing height and always have the same height no matter the content

1 Reply

AB Ashokkumar Balasubramanian Syncfusion Team December 4, 2017 12:37 PM UTC

Hi Michael, 
 
We have checked your problem (“Specify the height for Ribbon”) at our end. Currently, we don’t have the height property for Ribbon component, but we are able resolve the height problems while resizing the ribbon by specifying the height in Ribbon Element with the help of Create Event. Please check the below code block.   
 
[Script] 
 
function onCreate(args){ 
               this.element.height(155); 
      } 
 
For your convenience we have prepared simple sample for your requirement, please check the sample in below playground. 
 
 
Please let us know, if the provided information’s are helpful to achieve your requirement or not. 
 
Regards, 
Ashokkumar B. 


Loader.
Up arrow icon