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

LeadingView Icon position

When I use a LeadingView icon with an Editor, the icon is placed in the middle of the height of the Editor. If the Editor grow bigger, the icon moves further down to the middle. How do I make it at the top?

Attachment: LeadingView_58a638b3.zip

3 Replies

BK Bharathiraja K Syncfusion Team January 21, 2019 12:23 PM UTC

Hi Cesar, 
Greetings from Syncfusion. 
As per our control specification, it is not possible to change the vertical position of leading/trailing views to top. However, it is possible to achieve your requirement in sample level without using SfTextInputLayout's LeadingView. Please find the sample below here. 

CM Cesar Martinez January 26, 2019 02:24 PM UTC

Thank you for the help. I was hoping to get the underline under the icon too, to get a uniform look between all the controls, but this will do.

BK Bharathiraja K Syncfusion Team January 28, 2019 06:42 AM UTC

Hi Cesar, 
Thanks for your update. Let us know if you need any other assistance from us.  

Live Chat Icon For mobile
Up arrow icon