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

Control Sizes

Hi,

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

greets Miguel Varela


3 Replies

DL Deepa Loganathan Syncfusion Team 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. 

<style> 
 
.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; 
    } 
 
</style> 


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.  

Regards,  
Deepa L. 






MV Miguel Varela Rodriguez 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 :)


DL Deepa Loganathan Syncfusion Team 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. 
 
Regards,  
Deepa L. 


Loader.
Live Chat Icon For mobile
Up arrow icon