We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

ComboBox Height

Hi

What is the correct way to change the height of the CombBox, or any other input from you? I'm working with Angular Material and Syncfusion controls as well, I'm trying to making the controls look similar: dimensions and cores. Theme Studio didn't help me with this task, can you help me?

Thank you

3 Replies

BC Berly Christopher Syncfusion Team December 30, 2019 12:40 PM UTC

Hi Benjamim, 
 
Greetings from Syncfusion support.  
 
We have not provided the support for set the height to the ComboBox component directly. If you want to set the height to the component, we suggest you to override the CSS styles to the wrapper of the component as per the application need. Please refer the below code example. 
 
[app.component.html] 
 
<ejs-combobox id='games' #local [dataSource]='sportsData' [autofill]='true' [fields]='localFields' [placeholder]='localWaterMark' 
                    [popupHeight]='height' cssClass="customClass"></ejs-combobox> 
 
[app.component.css] 
 
.e-control-wrapper.e-ddl.customClass{ 
    height: 50px; 
} 
 
 
Please find the sample from the below link. 
 
 
To know more about our API, methods and events please refer the below API documentation link. 
 
 
Regards, 
Berly B.C


BG Benjamim Goulart Bessa December 30, 2019 05:23 PM UTC

Berly, thank you for your reply.

There is some document with avaiable css classes for customization? 


SN Sevvandhi Nagulan Syncfusion Team December 31, 2019 04:49 AM UTC

Hi Benjamim 
 
The cssClass property is used to add the custom class to the wrapper of component and popup element. We have add the class name with your own. So that, we can customize styles using the class name. 
 
To know more about our API, methods and events please refer the below API documentation link.  
  
 
Regards,  
Sevvandhi N  


Loader.
Live Chat Icon For mobile
Up arrow icon