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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Control Sizes

Thread ID:





143144 Mar 6,2019 11:17 AM UTC Mar 8,2019 06:48 AM UTC JavaScript - EJ 2 3
Tags: Calendar
Miguel Varela Rodriguez
Asked On March 6, 2019 11:17 AM UTC


is there a *simple* way to change the default sizes of controls? Like the icon calendar selector etc.

greets Miguel Varela

Deepa Loganathan [Syncfusion]
Replied On March 7, 2019 06:15 AM UTC

Hi Miguel,  

Greetings from Syncfusion. 

In general, you can control the width of input controls by using the width API

If you would like to customize the dimensions of the control, you would need to use the selectors added in the components. Say for example, if you wish to change the size of the Calendar selector icon, you would need to use the below selector. 

.e-control-wrapper .e-input-group-icon.e-date-icon { 
        font-size: 14px; 
        margin: 0 0 4px 0; 
        min-height: 24px; 
        min-width: 24px; 
        outline: none; 

Here e-input-group-icon is used to select the span element to render icon and e-date-icon refers to the date icon. 

If this does not suffice your requirement, please let us know your exact requirement for this in your application so that we can provide an optimal solution to meet your needs.  

Deepa L. 

Miguel Varela Rodriguez
Replied On March 7, 2019 08:43 AM UTC

Thank you for your response, this solved in this control.

Can i obtain a list somwhere to create a custom css ?

Or should i check the element names in the inspector? And hope dont miss one :)

Deepa Loganathan [Syncfusion]
Replied On March 8, 2019 06:48 AM UTC

Hi Miguel,  
Before we proceed further, we would like to know more about this requirement in your application.  
1.      Your exact requirement for overriding styles in your application 
2.      Are you facing any compatibility issues while integrating with any other third-party components? 
3.      Controls used in your application or the view pages of your application 
4.      Do you wish to override only the styles of font-icons or any other styles of the components? 
5.      What are the components you wish to override the styles for? 
Kindly get back to us with the above requested details, so that we can provide a prompt solution based on your application needs. 
Deepa L. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon